Package org.lwjgl.vulkan
Class VkCopyMemoryToAccelerationStructureInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkCopyMemoryToAccelerationStructureInfoKHR,VkCopyMemoryToAccelerationStructureInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkCopyMemoryToAccelerationStructureInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkCopyMemoryToAccelerationStructureInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkCopyMemoryToAccelerationStructureInfoKHR
public static class VkCopyMemoryToAccelerationStructureInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkCopyMemoryToAccelerationStructureInfoKHR,VkCopyMemoryToAccelerationStructureInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkCopyMemoryToAccelerationStructureInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkCopyMemoryToAccelerationStructureInfoKHR.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 byVkCopyMemoryToAccelerationStructureInfoKHR.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
VkCopyMemoryToAccelerationStructureInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkCopyMemoryToAccelerationStructureInfoKHR.pNext()field.
-
src
public VkDeviceOrHostAddressConstKHR src()
- Returns:
- a
VkDeviceOrHostAddressConstKHRview of theVkCopyMemoryToAccelerationStructureInfoKHR.src()field.
-
dst
public long dst()
- Returns:
- the value of the
VkCopyMemoryToAccelerationStructureInfoKHR.dst()field.
-
mode
public int mode()
- Returns:
- the value of the
VkCopyMemoryToAccelerationStructureInfoKHR.mode()field.
-
sType
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer sType(int value)
Sets the specified value to theVkCopyMemoryToAccelerationStructureInfoKHR.sType()field.
-
sType$Default
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHRvalue to theVkCopyMemoryToAccelerationStructureInfoKHR.sType()field.
-
pNext
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkCopyMemoryToAccelerationStructureInfoKHR.pNext()field.
-
src
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer src(VkDeviceOrHostAddressConstKHR value)
Copies the specifiedVkDeviceOrHostAddressConstKHRto theVkCopyMemoryToAccelerationStructureInfoKHR.src()field.
-
src
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer src(java.util.function.Consumer<VkDeviceOrHostAddressConstKHR> consumer)
Passes theVkCopyMemoryToAccelerationStructureInfoKHR.src()field to the specifiedConsumer.
-
dst
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer dst(long value)
Sets the specified value to theVkCopyMemoryToAccelerationStructureInfoKHR.dst()field.
-
mode
public VkCopyMemoryToAccelerationStructureInfoKHR.Buffer mode(int value)
Sets the specified value to theVkCopyMemoryToAccelerationStructureInfoKHR.mode()field.
-
-