Class VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer>
org.lwjgl.system.StructBuffer<VkAccelerationStructureGeometryLinearSweptSpheresDataNV, VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer>
org.lwjgl.vulkan.VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<VkAccelerationStructureGeometryLinearSweptSpheresDataNV>, NativeResource, Pointer
- Enclosing class:
VkAccelerationStructureGeometryLinearSweptSpheresDataNV
public static class VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer
extends StructBuffer<VkAccelerationStructureGeometryLinearSweptSpheresDataNV, VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer>
implements NativeResource
An array of
VkAccelerationStructureGeometryLinearSweptSpheresDataNV 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 newVkAccelerationStructureGeometryLinearSweptSpheresDataNV.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintendCapsMode(int value) Sets the specified value to theendCapsModefield.indexData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theindexDatafield to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto theindexDatafield.intindexingMode(int value) Sets the specified value to theindexingModefield.longindexStride(long value) Sets the specified value to theindexStridefield.intindexType(int value) Sets the specified value to theindexTypefield.longpNext()pNext(long value) Sets the specified value to thepNextfield.radiusData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theradiusDatafield to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto theradiusDatafield.intradiusFormat(int value) Sets the specified value to theradiusFormatfield.longradiusStride(long value) Sets the specified value to theradiusStridefield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_LINEAR_SWEPT_SPHERES_DATA_NVvalue to thesTypefield.vertexData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thevertexDatafield to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto thevertexDatafield.intvertexFormat(int value) Sets the specified value to thevertexFormatfield.longvertexStride(long value) Sets the specified value to thevertexStridefield.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 newVkAccelerationStructureGeometryLinearSweptSpheresDataNV.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
VkAccelerationStructureGeometryLinearSweptSpheresDataNV.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
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
vertexFormat
- Returns:
- the value of the
vertexFormatfield.
-
vertexData
- Returns:
- a
VkDeviceOrHostAddressConstKHRview of thevertexDatafield.
-
vertexStride
- Returns:
- the value of the
vertexStridefield.
-
radiusFormat
- Returns:
- the value of the
radiusFormatfield.
-
radiusData
- Returns:
- a
VkDeviceOrHostAddressConstKHRview of theradiusDatafield.
-
radiusStride
- Returns:
- the value of the
radiusStridefield.
-
indexType
- Returns:
- the value of the
indexTypefield.
-
indexData
- Returns:
- a
VkDeviceOrHostAddressConstKHRview of theindexDatafield.
-
indexStride
- Returns:
- the value of the
indexStridefield.
-
indexingMode
- Returns:
- the value of the
indexingModefield.
-
endCapsMode
- Returns:
- the value of the
endCapsModefield.
-
sType
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer sType(@NativeType("VkStructureType") int value) Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_LINEAR_SWEPT_SPHERES_DATA_NVvalue to thesTypefield. -
pNext
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer pNext(@NativeType("void const *") long value) Sets the specified value to thepNextfield. -
vertexFormat
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer vertexFormat(@NativeType("VkFormat") int value) Sets the specified value to thevertexFormatfield. -
vertexData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer vertexData(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto thevertexDatafield. -
vertexData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer vertexData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thevertexDatafield to the specifiedConsumer. -
vertexStride
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer vertexStride(@NativeType("VkDeviceSize") long value) Sets the specified value to thevertexStridefield. -
radiusFormat
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer radiusFormat(@NativeType("VkFormat") int value) Sets the specified value to theradiusFormatfield. -
radiusData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer radiusData(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto theradiusDatafield. -
radiusData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer radiusData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theradiusDatafield to the specifiedConsumer. -
radiusStride
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer radiusStride(@NativeType("VkDeviceSize") long value) Sets the specified value to theradiusStridefield. -
indexType
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer indexType(@NativeType("VkIndexType") int value) Sets the specified value to theindexTypefield. -
indexData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer indexData(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto theindexDatafield. -
indexData
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer indexData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theindexDatafield to the specifiedConsumer. -
indexStride
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer indexStride(@NativeType("VkDeviceSize") long value) Sets the specified value to theindexStridefield. -
indexingMode
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer indexingMode(@NativeType("VkRayTracingLssIndexingModeNV") int value) Sets the specified value to theindexingModefield. -
endCapsMode
public VkAccelerationStructureGeometryLinearSweptSpheresDataNV.Buffer endCapsMode(@NativeType("VkRayTracingLssPrimitiveEndCapsModeNV") int value) Sets the specified value to theendCapsModefield.
-