Package org.lwjgl.vulkan
Class VkCopyAccelerationStructureInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkCopyAccelerationStructureInfoKHR,VkCopyAccelerationStructureInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkCopyAccelerationStructureInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkCopyAccelerationStructureInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkCopyAccelerationStructureInfoKHR
public static class VkCopyAccelerationStructureInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkCopyAccelerationStructureInfoKHR,VkCopyAccelerationStructureInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkCopyAccelerationStructureInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkCopyAccelerationStructureInfoKHR.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 byVkCopyAccelerationStructureInfoKHR.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
VkCopyAccelerationStructureInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkCopyAccelerationStructureInfoKHR.pNext()field.
-
src
public long src()
- Returns:
- the value of the
VkCopyAccelerationStructureInfoKHR.src()field.
-
dst
public long dst()
- Returns:
- the value of the
VkCopyAccelerationStructureInfoKHR.dst()field.
-
mode
public int mode()
- Returns:
- the value of the
VkCopyAccelerationStructureInfoKHR.mode()field.
-
sType
public VkCopyAccelerationStructureInfoKHR.Buffer sType(int value)
Sets the specified value to theVkCopyAccelerationStructureInfoKHR.sType()field.
-
sType$Default
public VkCopyAccelerationStructureInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHRvalue to theVkCopyAccelerationStructureInfoKHR.sType()field.
-
pNext
public VkCopyAccelerationStructureInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkCopyAccelerationStructureInfoKHR.pNext()field.
-
src
public VkCopyAccelerationStructureInfoKHR.Buffer src(long value)
Sets the specified value to theVkCopyAccelerationStructureInfoKHR.src()field.
-
dst
public VkCopyAccelerationStructureInfoKHR.Buffer dst(long value)
Sets the specified value to theVkCopyAccelerationStructureInfoKHR.dst()field.
-
mode
public VkCopyAccelerationStructureInfoKHR.Buffer mode(int value)
Sets the specified value to theVkCopyAccelerationStructureInfoKHR.mode()field.
-
-