Package org.lwjgl.vulkan
Class VkAccelerationStructureBuildRangeInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAccelerationStructureBuildRangeInfoKHR,VkAccelerationStructureBuildRangeInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkAccelerationStructureBuildRangeInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAccelerationStructureBuildRangeInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkAccelerationStructureBuildRangeInfoKHR
public static class VkAccelerationStructureBuildRangeInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkAccelerationStructureBuildRangeInfoKHR,VkAccelerationStructureBuildRangeInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAccelerationStructureBuildRangeInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfirstVertex()VkAccelerationStructureBuildRangeInfoKHR.BufferfirstVertex(int value)Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.firstVertex()field.intprimitiveCount()VkAccelerationStructureBuildRangeInfoKHR.BufferprimitiveCount(int value)Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.primitiveCount()field.intprimitiveOffset()VkAccelerationStructureBuildRangeInfoKHR.BufferprimitiveOffset(int value)Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.primitiveOffset()field.inttransformOffset()VkAccelerationStructureBuildRangeInfoKHR.BuffertransformOffset(int value)Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.transformOffset()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAccelerationStructureBuildRangeInfoKHR.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 byVkAccelerationStructureBuildRangeInfoKHR.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
-
primitiveCount
public int primitiveCount()
- Returns:
- the value of the
VkAccelerationStructureBuildRangeInfoKHR.primitiveCount()field.
-
primitiveOffset
public int primitiveOffset()
- Returns:
- the value of the
VkAccelerationStructureBuildRangeInfoKHR.primitiveOffset()field.
-
firstVertex
public int firstVertex()
- Returns:
- the value of the
VkAccelerationStructureBuildRangeInfoKHR.firstVertex()field.
-
transformOffset
public int transformOffset()
- Returns:
- the value of the
VkAccelerationStructureBuildRangeInfoKHR.transformOffset()field.
-
primitiveCount
public VkAccelerationStructureBuildRangeInfoKHR.Buffer primitiveCount(int value)
Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.primitiveCount()field.
-
primitiveOffset
public VkAccelerationStructureBuildRangeInfoKHR.Buffer primitiveOffset(int value)
Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.primitiveOffset()field.
-
firstVertex
public VkAccelerationStructureBuildRangeInfoKHR.Buffer firstVertex(int value)
Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.firstVertex()field.
-
transformOffset
public VkAccelerationStructureBuildRangeInfoKHR.Buffer transformOffset(int value)
Sets the specified value to theVkAccelerationStructureBuildRangeInfoKHR.transformOffset()field.
-
-