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>,NativeResource,Pointer
- Enclosing class:
VkTraceRaysIndirectCommand2KHR
public static class VkTraceRaysIndirectCommand2KHR.Buffer
extends StructBuffer<VkTraceRaysIndirectCommand2KHR,VkTraceRaysIndirectCommand2KHR.Buffer>
implements NativeResource
An array of
VkTraceRaysIndirectCommand2KHR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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 thecallableShaderBindingTableAddressfield.longcallableShaderBindingTableSize(long value) Sets the specified value to thecallableShaderBindingTableSizefield.longcallableShaderBindingTableStride(long value) Sets the specified value to thecallableShaderBindingTableStridefield.intdepth()depth(int value) Sets the specified value to thedepthfield.intheight()height(int value) Sets the specified value to theheightfield.longhitShaderBindingTableAddress(long value) Sets the specified value to thehitShaderBindingTableAddressfield.longhitShaderBindingTableSize(long value) Sets the specified value to thehitShaderBindingTableSizefield.longhitShaderBindingTableStride(long value) Sets the specified value to thehitShaderBindingTableStridefield.longmissShaderBindingTableAddress(long value) Sets the specified value to themissShaderBindingTableAddressfield.longmissShaderBindingTableSize(long value) Sets the specified value to themissShaderBindingTableSizefield.longmissShaderBindingTableStride(long value) Sets the specified value to themissShaderBindingTableStridefield.longraygenShaderRecordAddress(long value) Sets the specified value to theraygenShaderRecordAddressfield.longraygenShaderRecordSize(long value) Sets the specified value to theraygenShaderRecordSizefield.intwidth()width(int value) Sets the specified value to thewidthfield.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
raygenShaderRecordAddressfield.
-
raygenShaderRecordSize
public long raygenShaderRecordSize()- Returns:
- the value of the
raygenShaderRecordSizefield.
-
missShaderBindingTableAddress
public long missShaderBindingTableAddress()- Returns:
- the value of the
missShaderBindingTableAddressfield.
-
missShaderBindingTableSize
public long missShaderBindingTableSize()- Returns:
- the value of the
missShaderBindingTableSizefield.
-
missShaderBindingTableStride
public long missShaderBindingTableStride()- Returns:
- the value of the
missShaderBindingTableStridefield.
-
hitShaderBindingTableAddress
public long hitShaderBindingTableAddress()- Returns:
- the value of the
hitShaderBindingTableAddressfield.
-
hitShaderBindingTableSize
public long hitShaderBindingTableSize()- Returns:
- the value of the
hitShaderBindingTableSizefield.
-
hitShaderBindingTableStride
public long hitShaderBindingTableStride()- Returns:
- the value of the
hitShaderBindingTableStridefield.
-
callableShaderBindingTableAddress
public long callableShaderBindingTableAddress()- Returns:
- the value of the
callableShaderBindingTableAddressfield.
-
callableShaderBindingTableSize
public long callableShaderBindingTableSize()- Returns:
- the value of the
callableShaderBindingTableSizefield.
-
callableShaderBindingTableStride
public long callableShaderBindingTableStride()- Returns:
- the value of the
callableShaderBindingTableStridefield.
-
width
public int width()- Returns:
- the value of the
widthfield.
-
height
public int height()- Returns:
- the value of the
heightfield.
-
depth
public int depth()- Returns:
- the value of the
depthfield.
-
raygenShaderRecordAddress
Sets the specified value to theraygenShaderRecordAddressfield. -
raygenShaderRecordSize
Sets the specified value to theraygenShaderRecordSizefield. -
missShaderBindingTableAddress
Sets the specified value to themissShaderBindingTableAddressfield. -
missShaderBindingTableSize
Sets the specified value to themissShaderBindingTableSizefield. -
missShaderBindingTableStride
Sets the specified value to themissShaderBindingTableStridefield. -
hitShaderBindingTableAddress
Sets the specified value to thehitShaderBindingTableAddressfield. -
hitShaderBindingTableSize
Sets the specified value to thehitShaderBindingTableSizefield. -
hitShaderBindingTableStride
Sets the specified value to thehitShaderBindingTableStridefield. -
callableShaderBindingTableAddress
Sets the specified value to thecallableShaderBindingTableAddressfield. -
callableShaderBindingTableSize
Sets the specified value to thecallableShaderBindingTableSizefield. -
callableShaderBindingTableStride
Sets the specified value to thecallableShaderBindingTableStridefield. -
width
Sets the specified value to thewidthfield. -
height
Sets the specified value to theheightfield. -
depth
Sets the specified value to thedepthfield.
-