Package org.lwjgl.vulkan
Class VkAccelerationStructureCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAccelerationStructureCreateInfoKHR,VkAccelerationStructureCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkAccelerationStructureCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAccelerationStructureCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkAccelerationStructureCreateInfoKHR
public static class VkAccelerationStructureCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkAccelerationStructureCreateInfoKHR,VkAccelerationStructureCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAccelerationStructureCreateInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAccelerationStructureCreateInfoKHR.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 byVkAccelerationStructureCreateInfoKHR.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
VkAccelerationStructureCreateInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.pNext()field.
-
createFlags
public int createFlags()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.createFlags()field.
-
buffer
public long buffer()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.buffer()field.
-
offset
public long offset()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.offset()field.
-
size
public long size()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.size()field.
-
type
public int type()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.type()field.
-
deviceAddress
public long deviceAddress()
- Returns:
- the value of the
VkAccelerationStructureCreateInfoKHR.deviceAddress()field.
-
sType
public VkAccelerationStructureCreateInfoKHR.Buffer sType(int value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.sType()field.
-
sType$Default
public VkAccelerationStructureCreateInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHRvalue to theVkAccelerationStructureCreateInfoKHR.sType()field.
-
pNext
public VkAccelerationStructureCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.pNext()field.
-
pNext
public VkAccelerationStructureCreateInfoKHR.Buffer pNext(VkAccelerationStructureMotionInfoNV value)
Prepends the specifiedVkAccelerationStructureMotionInfoNVvalue to thepNextchain.
-
createFlags
public VkAccelerationStructureCreateInfoKHR.Buffer createFlags(int value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.createFlags()field.
-
buffer
public VkAccelerationStructureCreateInfoKHR.Buffer buffer(long value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.buffer()field.
-
offset
public VkAccelerationStructureCreateInfoKHR.Buffer offset(long value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.offset()field.
-
size
public VkAccelerationStructureCreateInfoKHR.Buffer size(long value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.size()field.
-
type
public VkAccelerationStructureCreateInfoKHR.Buffer type(int value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.type()field.
-
deviceAddress
public VkAccelerationStructureCreateInfoKHR.Buffer deviceAddress(long value)
Sets the specified value to theVkAccelerationStructureCreateInfoKHR.deviceAddress()field.
-
-