Package org.lwjgl.vulkan
Class VkTraceRaysIndirectCommand2KHR.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkTraceRaysIndirectCommand2KHR.Buffer>
org.lwjgl.system.StructBuffer<VkTraceRaysIndirectCommand2KHR,VkTraceRaysIndirectCommand2KHR.Buffer>
org.lwjgl.vulkan.VkTraceRaysIndirectCommand2KHR.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkTraceRaysIndirectCommand2KHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
VkTraceRaysIndirectCommand2KHR
public static class VkTraceRaysIndirectCommand2KHR.Buffer
extends org.lwjgl.system.StructBuffer<VkTraceRaysIndirectCommand2KHR,VkTraceRaysIndirectCommand2KHR.Buffer>
implements org.lwjgl.system.NativeResource
An array of
VkTraceRaysIndirectCommand2KHR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkTraceRaysIndirectCommand2KHR.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongcallableShaderBindingTableAddress(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableAddress()field.longcallableShaderBindingTableSize(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableSize()field.longcallableShaderBindingTableStride(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableStride()field.intdepth()depth(int value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.depth()field.intheight()height(int value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.height()field.longhitShaderBindingTableAddress(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableAddress()field.longhitShaderBindingTableSize(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableSize()field.longhitShaderBindingTableStride(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableStride()field.longmissShaderBindingTableAddress(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableAddress()field.longmissShaderBindingTableSize(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableSize()field.longmissShaderBindingTableStride(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableStride()field.longraygenShaderRecordAddress(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.raygenShaderRecordAddress()field.longraygenShaderRecordSize(long value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.raygenShaderRecordSize()field.intwidth()width(int value) Sets the specified value to theVkTraceRaysIndirectCommand2KHR.width()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkTraceRaysIndirectCommand2KHR.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 by
VkTraceRaysIndirectCommand2KHR.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 Details
-
raygenShaderRecordAddress
public long raygenShaderRecordAddress()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.raygenShaderRecordAddress()field.
-
raygenShaderRecordSize
public long raygenShaderRecordSize()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.raygenShaderRecordSize()field.
-
missShaderBindingTableAddress
public long missShaderBindingTableAddress()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.missShaderBindingTableAddress()field.
-
missShaderBindingTableSize
public long missShaderBindingTableSize()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.missShaderBindingTableSize()field.
-
missShaderBindingTableStride
public long missShaderBindingTableStride()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.missShaderBindingTableStride()field.
-
hitShaderBindingTableAddress
public long hitShaderBindingTableAddress()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.hitShaderBindingTableAddress()field.
-
hitShaderBindingTableSize
public long hitShaderBindingTableSize()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.hitShaderBindingTableSize()field.
-
hitShaderBindingTableStride
public long hitShaderBindingTableStride()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.hitShaderBindingTableStride()field.
-
callableShaderBindingTableAddress
public long callableShaderBindingTableAddress()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.callableShaderBindingTableAddress()field.
-
callableShaderBindingTableSize
public long callableShaderBindingTableSize()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.callableShaderBindingTableSize()field.
-
callableShaderBindingTableStride
public long callableShaderBindingTableStride()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.callableShaderBindingTableStride()field.
-
width
public int width()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.width()field.
-
height
public int height()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.height()field.
-
depth
public int depth()- Returns:
- the value of the
VkTraceRaysIndirectCommand2KHR.depth()field.
-
raygenShaderRecordAddress
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.raygenShaderRecordAddress()field. -
raygenShaderRecordSize
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.raygenShaderRecordSize()field. -
missShaderBindingTableAddress
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableAddress()field. -
missShaderBindingTableSize
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableSize()field. -
missShaderBindingTableStride
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.missShaderBindingTableStride()field. -
hitShaderBindingTableAddress
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableAddress()field. -
hitShaderBindingTableSize
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableSize()field. -
hitShaderBindingTableStride
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.hitShaderBindingTableStride()field. -
callableShaderBindingTableAddress
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableAddress()field. -
callableShaderBindingTableSize
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableSize()field. -
callableShaderBindingTableStride
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.callableShaderBindingTableStride()field. -
width
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.width()field. -
height
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.height()field. -
depth
Sets the specified value to theVkTraceRaysIndirectCommand2KHR.depth()field.
-