Struct BoundingVolumeHierarchy.Builder
Syntax
Fields
Aabbs
Declaration
public NativeArray<Aabb> Aabbs
Field Value
Type |
Description |
NativeArray<Aabb> |
|
Bvh
Declaration
public BoundingVolumeHierarchy Bvh
Field Value
FreeNodeIndex
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Points
Declaration
public NativeArray<BoundingVolumeHierarchy.PointAndIndex> Points
Field Value
UseSah
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Methods
Build(BoundingVolumeHierarchy.Builder.Range)
Declaration
public void Build(BoundingVolumeHierarchy.Builder.Range baseRange)
Parameters
CreateInternalNodes(BoundingVolumeHierarchy.Builder.Range*, Int32, Int32, BoundingVolumeHierarchy.Builder.Range*, ref Int32, ref Int32)
Declaration
public void CreateInternalNodes(BoundingVolumeHierarchy.Builder.Range*subRanges, int numSubRanges, int root, BoundingVolumeHierarchy.Builder.Range*rangeStack, ref int stackSize, ref int freeNodeIndex)
Parameters
ProcessLargeRange(BoundingVolumeHierarchy.Builder.Range, BoundingVolumeHierarchy.Builder.Range*)
Declaration
public void ProcessLargeRange(BoundingVolumeHierarchy.Builder.Range range, BoundingVolumeHierarchy.Builder.Range*subRanges)
Parameters