public final class MTLAccelerationStructureSizes
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
MTLAccelerationStructureSizes() |
|
MTLAccelerationStructureSizes(long accelerationStructureSize,
long buildScratchBufferSize,
long refitScratchBufferSize) |
protected |
MTLAccelerationStructureSizes(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
long |
accelerationStructureSize()
The required size, in bytes, of the built acceleration structure
|
long |
buildScratchBufferSize()
The required size, in bytes, of the scratch buffer used to build the acceleration structure
|
long |
refitScratchBufferSize()
The required size, in bytes, of the scratch buffer used to refit the acceleration structure
|
void |
setAccelerationStructureSize(long value)
The required size, in bytes, of the built acceleration structure
|
void |
setBuildScratchBufferSize(long value)
The required size, in bytes, of the scratch buffer used to build the acceleration structure
|
void |
setRefitScratchBufferSize(long value)
The required size, in bytes, of the scratch buffer used to refit the acceleration structure
|
public MTLAccelerationStructureSizes()
protected MTLAccelerationStructureSizes(org.moe.natj.general.Pointer peer)
public MTLAccelerationStructureSizes(long accelerationStructureSize,
long buildScratchBufferSize,
long refitScratchBufferSize)
public long accelerationStructureSize()
public void setAccelerationStructureSize(long value)
public long buildScratchBufferSize()
public void setBuildScratchBufferSize(long value)
public long refitScratchBufferSize()
public void setRefitScratchBufferSize(long value)