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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface 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
- Returns:
- the value of the
raygenShaderRecordAddressfield.
-
raygenShaderRecordSize
- Returns:
- the value of the
raygenShaderRecordSizefield.
-
missShaderBindingTableAddress
- Returns:
- the value of the
missShaderBindingTableAddressfield.
-
missShaderBindingTableSize
- Returns:
- the value of the
missShaderBindingTableSizefield.
-
missShaderBindingTableStride
- Returns:
- the value of the
missShaderBindingTableStridefield.
-
hitShaderBindingTableAddress
- Returns:
- the value of the
hitShaderBindingTableAddressfield.
-
hitShaderBindingTableSize
- Returns:
- the value of the
hitShaderBindingTableSizefield.
-
hitShaderBindingTableStride
- Returns:
- the value of the
hitShaderBindingTableStridefield.
-
callableShaderBindingTableAddress
- Returns:
- the value of the
callableShaderBindingTableAddressfield.
-
callableShaderBindingTableSize
- Returns:
- the value of the
callableShaderBindingTableSizefield.
-
callableShaderBindingTableStride
- Returns:
- the value of the
callableShaderBindingTableStridefield.
-
width
- Returns:
- the value of the
widthfield.
-
height
- Returns:
- the value of the
heightfield.
-
depth
- Returns:
- the value of the
depthfield.
-
raygenShaderRecordAddress
public VkTraceRaysIndirectCommand2KHR.Buffer raygenShaderRecordAddress(@NativeType("VkDeviceAddress") long value) Sets the specified value to theraygenShaderRecordAddressfield. -
raygenShaderRecordSize
public VkTraceRaysIndirectCommand2KHR.Buffer raygenShaderRecordSize(@NativeType("VkDeviceSize") long value) Sets the specified value to theraygenShaderRecordSizefield. -
missShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableAddress(@NativeType("VkDeviceAddress") long value) Sets the specified value to themissShaderBindingTableAddressfield. -
missShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableSize(@NativeType("VkDeviceSize") long value) Sets the specified value to themissShaderBindingTableSizefield. -
missShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableStride(@NativeType("VkDeviceSize") long value) Sets the specified value to themissShaderBindingTableStridefield. -
hitShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableAddress(@NativeType("VkDeviceAddress") long value) Sets the specified value to thehitShaderBindingTableAddressfield. -
hitShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableSize(@NativeType("VkDeviceSize") long value) Sets the specified value to thehitShaderBindingTableSizefield. -
hitShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableStride(@NativeType("VkDeviceSize") long value) Sets the specified value to thehitShaderBindingTableStridefield. -
callableShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableAddress(@NativeType("VkDeviceAddress") long value) Sets the specified value to thecallableShaderBindingTableAddressfield. -
callableShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableSize(@NativeType("VkDeviceSize") long value) Sets the specified value to thecallableShaderBindingTableSizefield. -
callableShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableStride(@NativeType("VkDeviceSize") long value) 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.
-