Class MTLAccelerationStructureSizes


  • public final class MTLAccelerationStructureSizes
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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