Class VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer>
org.lwjgl.system.StructBuffer<VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV, VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer>
org.lwjgl.vulkan.VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV>, NativeResource, Pointer
- Enclosing class:
VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
public static class VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer
extends StructBuffer<VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV, VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer>
implements NativeResource
An array of
VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV 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 newVkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbaseGeometryIndexAndGeometryFlags(Consumer<VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV> consumer) Passes thebaseGeometryIndexAndGeometryFlagsfield to the specifiedConsumer.baseGeometryIndexAndGeometryFlags(VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV value) Copies the specifiedVkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNVto thebaseGeometryIndexAndGeometryFlagsfield.intclusterFlags(int value) Sets the specified value to theclusterFlagsfield.intclusterID(int value) Sets the specified value to theclusterIDfield.longgeometryIndexAndFlagsBuffer(long value) Sets the specified value to thegeometryIndexAndFlagsBufferfield.shortgeometryIndexAndFlagsBufferStride(short value) Sets the specified value to thegeometryIndexAndFlagsBufferStridefield.longindexBuffer(long value) Sets the specified value to theindexBufferfield.shortindexBufferStride(short value) Sets the specified value to theindexBufferStridefield.intindexType(int value) Sets the specified value to theindexTypefield.longinstantiationBoundingBoxLimit(long value) Sets the specified value to theinstantiationBoundingBoxLimitfield.longopacityMicromapArray(long value) Sets the specified value to theopacityMicromapArrayfield.longopacityMicromapIndexBuffer(long value) Sets the specified value to theopacityMicromapIndexBufferfield.shortopacityMicromapIndexBufferStride(short value) Sets the specified value to theopacityMicromapIndexBufferStridefield.intopacityMicromapIndexType(int value) Sets the specified value to theopacityMicromapIndexTypefield.intpositionTruncateBitCount(int value) Sets the specified value to thepositionTruncateBitCountfield.inttriangleCount(int value) Sets the specified value to thetriangleCountfield.longvertexBuffer(long value) Sets the specified value to thevertexBufferfield.shortvertexBufferStride(short value) Sets the specified value to thevertexBufferStridefield.intvertexCount(int value) Sets the specified value to thevertexCountfield.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 newVkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.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
VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.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
-
clusterID
- Returns:
- the value of the
clusterIDfield.
-
clusterFlags
- Returns:
- the value of the
clusterFlagsfield.
-
triangleCount
- Returns:
- the value of the
triangleCountfield.
-
vertexCount
- Returns:
- the value of the
vertexCountfield.
-
positionTruncateBitCount
- Returns:
- the value of the
positionTruncateBitCountfield.
-
indexType
- Returns:
- the value of the
indexTypefield.
-
opacityMicromapIndexType
- Returns:
- the value of the
opacityMicromapIndexTypefield.
-
baseGeometryIndexAndGeometryFlags
public VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV baseGeometryIndexAndGeometryFlags()- Returns:
- a
VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNVview of thebaseGeometryIndexAndGeometryFlagsfield.
-
indexBufferStride
- Returns:
- the value of the
indexBufferStridefield.
-
vertexBufferStride
- Returns:
- the value of the
vertexBufferStridefield.
-
geometryIndexAndFlagsBufferStride
- Returns:
- the value of the
geometryIndexAndFlagsBufferStridefield.
-
opacityMicromapIndexBufferStride
- Returns:
- the value of the
opacityMicromapIndexBufferStridefield.
-
indexBuffer
- Returns:
- the value of the
indexBufferfield.
-
vertexBuffer
- Returns:
- the value of the
vertexBufferfield.
-
geometryIndexAndFlagsBuffer
- Returns:
- the value of the
geometryIndexAndFlagsBufferfield.
-
opacityMicromapArray
- Returns:
- the value of the
opacityMicromapArrayfield.
-
opacityMicromapIndexBuffer
- Returns:
- the value of the
opacityMicromapIndexBufferfield.
-
instantiationBoundingBoxLimit
- Returns:
- the value of the
instantiationBoundingBoxLimitfield.
-
clusterID
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer clusterID(@NativeType("uint32_t") int value) Sets the specified value to theclusterIDfield. -
clusterFlags
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer clusterFlags(@NativeType("VkClusterAccelerationStructureClusterFlagsNV") int value) Sets the specified value to theclusterFlagsfield. -
triangleCount
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer triangleCount(@NativeType("uint32_t") int value) Sets the specified value to thetriangleCountfield. -
vertexCount
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer vertexCount(@NativeType("uint32_t") int value) Sets the specified value to thevertexCountfield. -
positionTruncateBitCount
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer positionTruncateBitCount(@NativeType("uint32_t") int value) Sets the specified value to thepositionTruncateBitCountfield. -
indexType
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer indexType(@NativeType("uint32_t") int value) Sets the specified value to theindexTypefield. -
opacityMicromapIndexType
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer opacityMicromapIndexType(@NativeType("uint32_t") int value) Sets the specified value to theopacityMicromapIndexTypefield. -
baseGeometryIndexAndGeometryFlags
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer baseGeometryIndexAndGeometryFlags(VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV value) Copies the specifiedVkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNVto thebaseGeometryIndexAndGeometryFlagsfield. -
baseGeometryIndexAndGeometryFlags
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer baseGeometryIndexAndGeometryFlags(Consumer<VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV> consumer) Passes thebaseGeometryIndexAndGeometryFlagsfield to the specifiedConsumer. -
indexBufferStride
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer indexBufferStride(@NativeType("uint16_t") short value) Sets the specified value to theindexBufferStridefield. -
vertexBufferStride
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer vertexBufferStride(@NativeType("uint16_t") short value) Sets the specified value to thevertexBufferStridefield. -
geometryIndexAndFlagsBufferStride
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer geometryIndexAndFlagsBufferStride(@NativeType("uint16_t") short value) Sets the specified value to thegeometryIndexAndFlagsBufferStridefield. -
opacityMicromapIndexBufferStride
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer opacityMicromapIndexBufferStride(@NativeType("uint16_t") short value) Sets the specified value to theopacityMicromapIndexBufferStridefield. -
indexBuffer
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer indexBuffer(@NativeType("VkDeviceAddress") long value) Sets the specified value to theindexBufferfield. -
vertexBuffer
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer vertexBuffer(@NativeType("VkDeviceAddress") long value) Sets the specified value to thevertexBufferfield. -
geometryIndexAndFlagsBuffer
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer geometryIndexAndFlagsBuffer(@NativeType("VkDeviceAddress") long value) Sets the specified value to thegeometryIndexAndFlagsBufferfield. -
opacityMicromapArray
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer opacityMicromapArray(@NativeType("VkDeviceAddress") long value) Sets the specified value to theopacityMicromapArrayfield. -
opacityMicromapIndexBuffer
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer opacityMicromapIndexBuffer(@NativeType("VkDeviceAddress") long value) Sets the specified value to theopacityMicromapIndexBufferfield. -
instantiationBoundingBoxLimit
public VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.Buffer instantiationBoundingBoxLimit(@NativeType("VkDeviceAddress") long value) Sets the specified value to theinstantiationBoundingBoxLimitfield.
-