Package org.lwjgl.vulkan
Class VkClusterAccelerationStructureCommandsInfoNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkClusterAccelerationStructureCommandsInfoNV.Buffer>
org.lwjgl.system.StructBuffer<VkClusterAccelerationStructureCommandsInfoNV,VkClusterAccelerationStructureCommandsInfoNV.Buffer>
org.lwjgl.vulkan.VkClusterAccelerationStructureCommandsInfoNV.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<VkClusterAccelerationStructureCommandsInfoNV>
,NativeResource
,Pointer
- Enclosing class:
VkClusterAccelerationStructureCommandsInfoNV
public static class VkClusterAccelerationStructureCommandsInfoNV.Buffer
extends StructBuffer<VkClusterAccelerationStructureCommandsInfoNV,VkClusterAccelerationStructureCommandsInfoNV.Buffer>
implements NativeResource
An array of
VkClusterAccelerationStructureCommandsInfoNV
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 newVkClusterAccelerationStructureCommandsInfoNV.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
addressResolutionFlags
(int value) Sets the specified value to theaddressResolutionFlags
field.Passes thedstAddressesArray
field to the specifiedConsumer
.Copies the specifiedVkStridedDeviceAddressRegionKHR
to thedstAddressesArray
field.long
dstImplicitData
(long value) Sets the specified value to thedstImplicitData
field.dstSizesArray
(Consumer<VkStridedDeviceAddressRegionKHR> consumer) Passes thedstSizesArray
field to the specifiedConsumer
.Copies the specifiedVkStridedDeviceAddressRegionKHR
to thedstSizesArray
field.input()
Passes theinput
field to the specifiedConsumer
.Copies the specifiedVkClusterAccelerationStructureInputInfoNV
to theinput
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.long
scratchData
(long value) Sets the specified value to thescratchData
field.srcInfosArray
(Consumer<VkStridedDeviceAddressRegionKHR> consumer) Passes thesrcInfosArray
field to the specifiedConsumer
.Copies the specifiedVkStridedDeviceAddressRegionKHR
to thesrcInfosArray
field.long
srcInfosCount
(long value) Sets the specified value to thesrcInfosCount
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_COMMANDS_INFO_NV
value to thesType
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 newVkClusterAccelerationStructureCommandsInfoNV.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
VkClusterAccelerationStructureCommandsInfoNV.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
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
input
- Returns:
- a
VkClusterAccelerationStructureInputInfoNV
view of theinput
field.
-
dstImplicitData
public long dstImplicitData()- Returns:
- the value of the
dstImplicitData
field.
-
scratchData
public long scratchData()- Returns:
- the value of the
scratchData
field.
-
dstAddressesArray
- Returns:
- a
VkStridedDeviceAddressRegionKHR
view of thedstAddressesArray
field.
-
dstSizesArray
- Returns:
- a
VkStridedDeviceAddressRegionKHR
view of thedstSizesArray
field.
-
srcInfosArray
- Returns:
- a
VkStridedDeviceAddressRegionKHR
view of thesrcInfosArray
field.
-
srcInfosCount
public long srcInfosCount()- Returns:
- the value of the
srcInfosCount
field.
-
addressResolutionFlags
public int addressResolutionFlags()- Returns:
- the value of the
addressResolutionFlags
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_COMMANDS_INFO_NV
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
input
public VkClusterAccelerationStructureCommandsInfoNV.Buffer input(VkClusterAccelerationStructureInputInfoNV value) Copies the specifiedVkClusterAccelerationStructureInputInfoNV
to theinput
field. -
input
public VkClusterAccelerationStructureCommandsInfoNV.Buffer input(Consumer<VkClusterAccelerationStructureInputInfoNV> consumer) Passes theinput
field to the specifiedConsumer
. -
dstImplicitData
Sets the specified value to thedstImplicitData
field. -
scratchData
Sets the specified value to thescratchData
field. -
dstAddressesArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer dstAddressesArray(VkStridedDeviceAddressRegionKHR value) Copies the specifiedVkStridedDeviceAddressRegionKHR
to thedstAddressesArray
field. -
dstAddressesArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer dstAddressesArray(Consumer<VkStridedDeviceAddressRegionKHR> consumer) Passes thedstAddressesArray
field to the specifiedConsumer
. -
dstSizesArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer dstSizesArray(VkStridedDeviceAddressRegionKHR value) Copies the specifiedVkStridedDeviceAddressRegionKHR
to thedstSizesArray
field. -
dstSizesArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer dstSizesArray(Consumer<VkStridedDeviceAddressRegionKHR> consumer) Passes thedstSizesArray
field to the specifiedConsumer
. -
srcInfosArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer srcInfosArray(VkStridedDeviceAddressRegionKHR value) Copies the specifiedVkStridedDeviceAddressRegionKHR
to thesrcInfosArray
field. -
srcInfosArray
public VkClusterAccelerationStructureCommandsInfoNV.Buffer srcInfosArray(Consumer<VkStridedDeviceAddressRegionKHR> consumer) Passes thesrcInfosArray
field to the specifiedConsumer
. -
srcInfosCount
Sets the specified value to thesrcInfosCount
field. -
addressResolutionFlags
Sets the specified value to theaddressResolutionFlags
field.
-