Package apple.metal.struct
Class MTLAccelerationStructureSizes
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.metal.struct.MTLAccelerationStructureSizes
-
public final class MTLAccelerationStructureSizes extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description MTLAccelerationStructureSizes()MTLAccelerationStructureSizes(long accelerationStructureSize, long buildScratchBufferSize, long refitScratchBufferSize)protectedMTLAccelerationStructureSizes(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaccelerationStructureSize()The required size, in bytes, of the built acceleration structurelongbuildScratchBufferSize()The required size, in bytes, of the scratch buffer used to build the acceleration structurelongrefitScratchBufferSize()The required size, in bytes, of the scratch buffer used to refit the acceleration structurevoidsetAccelerationStructureSize(long value)The required size, in bytes, of the built acceleration structurevoidsetBuildScratchBufferSize(long value)The required size, in bytes, of the scratch buffer used to build the acceleration structurevoidsetRefitScratchBufferSize(long value)The required size, in bytes, of the scratch buffer used to refit the acceleration structure
-
-
-
Constructor Detail
-
MTLAccelerationStructureSizes
public MTLAccelerationStructureSizes()
-
MTLAccelerationStructureSizes
protected MTLAccelerationStructureSizes(org.moe.natj.general.Pointer peer)
-
MTLAccelerationStructureSizes
public MTLAccelerationStructureSizes(long accelerationStructureSize, long buildScratchBufferSize, long refitScratchBufferSize)
-
-
Method Detail
-
accelerationStructureSize
public long accelerationStructureSize()
The required size, in bytes, of the built acceleration structure
-
setAccelerationStructureSize
public void setAccelerationStructureSize(long value)
The required size, in bytes, of the built acceleration structure
-
buildScratchBufferSize
public long buildScratchBufferSize()
The required size, in bytes, of the scratch buffer used to build the acceleration structure
-
setBuildScratchBufferSize
public void setBuildScratchBufferSize(long value)
The required size, in bytes, of the scratch buffer used to build the acceleration structure
-
refitScratchBufferSize
public long refitScratchBufferSize()
The required size, in bytes, of the scratch buffer used to refit the acceleration structure
-
setRefitScratchBufferSize
public void setRefitScratchBufferSize(long value)
The required size, in bytes, of the scratch buffer used to refit the acceleration structure
-
-