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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlong
callableShaderBindingTableAddress
(long value) Sets the specified value to thecallableShaderBindingTableAddress
field.long
callableShaderBindingTableSize
(long value) Sets the specified value to thecallableShaderBindingTableSize
field.long
callableShaderBindingTableStride
(long value) Sets the specified value to thecallableShaderBindingTableStride
field.int
depth()
depth
(int value) Sets the specified value to thedepth
field.int
height()
height
(int value) Sets the specified value to theheight
field.long
hitShaderBindingTableAddress
(long value) Sets the specified value to thehitShaderBindingTableAddress
field.long
hitShaderBindingTableSize
(long value) Sets the specified value to thehitShaderBindingTableSize
field.long
hitShaderBindingTableStride
(long value) Sets the specified value to thehitShaderBindingTableStride
field.long
missShaderBindingTableAddress
(long value) Sets the specified value to themissShaderBindingTableAddress
field.long
missShaderBindingTableSize
(long value) Sets the specified value to themissShaderBindingTableSize
field.long
missShaderBindingTableStride
(long value) Sets the specified value to themissShaderBindingTableStride
field.long
raygenShaderRecordAddress
(long value) Sets the specified value to theraygenShaderRecordAddress
field.long
raygenShaderRecordSize
(long value) Sets the specified value to theraygenShaderRecordSize
field.int
width()
width
(int value) Sets the specified value to thewidth
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkTraceRaysIndirectCommand2KHR.Buffer
instance 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
raygenShaderRecordAddress
field.
-
raygenShaderRecordSize
public long raygenShaderRecordSize()- Returns:
- the value of the
raygenShaderRecordSize
field.
-
missShaderBindingTableAddress
public long missShaderBindingTableAddress()- Returns:
- the value of the
missShaderBindingTableAddress
field.
-
missShaderBindingTableSize
public long missShaderBindingTableSize()- Returns:
- the value of the
missShaderBindingTableSize
field.
-
missShaderBindingTableStride
public long missShaderBindingTableStride()- Returns:
- the value of the
missShaderBindingTableStride
field.
-
hitShaderBindingTableAddress
public long hitShaderBindingTableAddress()- Returns:
- the value of the
hitShaderBindingTableAddress
field.
-
hitShaderBindingTableSize
public long hitShaderBindingTableSize()- Returns:
- the value of the
hitShaderBindingTableSize
field.
-
hitShaderBindingTableStride
public long hitShaderBindingTableStride()- Returns:
- the value of the
hitShaderBindingTableStride
field.
-
callableShaderBindingTableAddress
public long callableShaderBindingTableAddress()- Returns:
- the value of the
callableShaderBindingTableAddress
field.
-
callableShaderBindingTableSize
public long callableShaderBindingTableSize()- Returns:
- the value of the
callableShaderBindingTableSize
field.
-
callableShaderBindingTableStride
public long callableShaderBindingTableStride()- Returns:
- the value of the
callableShaderBindingTableStride
field.
-
width
public int width()- Returns:
- the value of the
width
field.
-
height
public int height()- Returns:
- the value of the
height
field.
-
depth
public int depth()- Returns:
- the value of the
depth
field.
-
raygenShaderRecordAddress
Sets the specified value to theraygenShaderRecordAddress
field. -
raygenShaderRecordSize
Sets the specified value to theraygenShaderRecordSize
field. -
missShaderBindingTableAddress
Sets the specified value to themissShaderBindingTableAddress
field. -
missShaderBindingTableSize
Sets the specified value to themissShaderBindingTableSize
field. -
missShaderBindingTableStride
Sets the specified value to themissShaderBindingTableStride
field. -
hitShaderBindingTableAddress
Sets the specified value to thehitShaderBindingTableAddress
field. -
hitShaderBindingTableSize
Sets the specified value to thehitShaderBindingTableSize
field. -
hitShaderBindingTableStride
Sets the specified value to thehitShaderBindingTableStride
field. -
callableShaderBindingTableAddress
Sets the specified value to thecallableShaderBindingTableAddress
field. -
callableShaderBindingTableSize
Sets the specified value to thecallableShaderBindingTableSize
field. -
callableShaderBindingTableStride
Sets the specified value to thecallableShaderBindingTableStride
field. -
width
Sets the specified value to thewidth
field. -
height
Sets the specified value to theheight
field. -
depth
Sets the specified value to thedepth
field.
-