Package org.lwjgl.vulkan
Class VkAccelerationStructureBuildSizesInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAccelerationStructureBuildSizesInfoKHR,VkAccelerationStructureBuildSizesInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkAccelerationStructureBuildSizesInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAccelerationStructureBuildSizesInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkAccelerationStructureBuildSizesInfoKHR
public static class VkAccelerationStructureBuildSizesInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkAccelerationStructureBuildSizesInfoKHR,VkAccelerationStructureBuildSizesInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAccelerationStructureBuildSizesInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAccelerationStructureBuildSizesInfoKHR.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkAccelerationStructureBuildSizesInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkAccelerationStructureBuildSizesInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkAccelerationStructureBuildSizesInfoKHR.pNext()field.
-
accelerationStructureSize
public long accelerationStructureSize()
- Returns:
- the value of the
VkAccelerationStructureBuildSizesInfoKHR.accelerationStructureSize()field.
-
updateScratchSize
public long updateScratchSize()
- Returns:
- the value of the
VkAccelerationStructureBuildSizesInfoKHR.updateScratchSize()field.
-
buildScratchSize
public long buildScratchSize()
- Returns:
- the value of the
VkAccelerationStructureBuildSizesInfoKHR.buildScratchSize()field.
-
sType
public VkAccelerationStructureBuildSizesInfoKHR.Buffer sType(int value)
Sets the specified value to theVkAccelerationStructureBuildSizesInfoKHR.sType()field.
-
sType$Default
public VkAccelerationStructureBuildSizesInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHRvalue to theVkAccelerationStructureBuildSizesInfoKHR.sType()field.
-
pNext
public VkAccelerationStructureBuildSizesInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkAccelerationStructureBuildSizesInfoKHR.pNext()field.
-
accelerationStructureSize
public VkAccelerationStructureBuildSizesInfoKHR.Buffer accelerationStructureSize(long value)
Sets the specified value to theVkAccelerationStructureBuildSizesInfoKHR.accelerationStructureSize()field.
-
updateScratchSize
public VkAccelerationStructureBuildSizesInfoKHR.Buffer updateScratchSize(long value)
Sets the specified value to theVkAccelerationStructureBuildSizesInfoKHR.updateScratchSize()field.
-
buildScratchSize
public VkAccelerationStructureBuildSizesInfoKHR.Buffer buildScratchSize(long value)
Sets the specified value to theVkAccelerationStructureBuildSizesInfoKHR.buildScratchSize()field.
-
-