Package org.lwjgl.vulkan
Class VkConvertCooperativeVectorMatrixInfoNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkConvertCooperativeVectorMatrixInfoNV.Buffer>
org.lwjgl.system.StructBuffer<VkConvertCooperativeVectorMatrixInfoNV,VkConvertCooperativeVectorMatrixInfoNV.Buffer>
org.lwjgl.vulkan.VkConvertCooperativeVectorMatrixInfoNV.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<VkConvertCooperativeVectorMatrixInfoNV>
,NativeResource
,Pointer
- Enclosing class:
VkConvertCooperativeVectorMatrixInfoNV
public static class VkConvertCooperativeVectorMatrixInfoNV.Buffer
extends StructBuffer<VkConvertCooperativeVectorMatrixInfoNV,VkConvertCooperativeVectorMatrixInfoNV.Buffer>
implements NativeResource
An array of
VkConvertCooperativeVectorMatrixInfoNV
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 newVkConvertCooperativeVectorMatrixInfoNV.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
dstComponentType
(int value) Sets the specified value to thedstComponentType
field.dstData()
dstData
(Consumer<VkDeviceOrHostAddressKHR> consumer) Passes thedstData
field to the specifiedConsumer
.dstData
(VkDeviceOrHostAddressKHR value) Copies the specifiedVkDeviceOrHostAddressKHR
to thedstData
field.int
dstLayout
(int value) Sets the specified value to thedstLayout
field.long
dstStride
(long value) Sets the specified value to thedstStride
field.int
numColumns
(int value) Sets the specified value to thenumColumns
field.int
numRows()
numRows
(int value) Sets the specified value to thenumRows
field.@Nullable PointerBuffer
pDstSize
(int capacity) pDstSize
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to thepDstSize
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.int
srcComponentType
(int value) Sets the specified value to thesrcComponentType
field.srcData()
srcData
(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcData
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to thesrcData
field.int
srcLayout
(int value) Sets the specified value to thesrcLayout
field.long
srcSize()
srcSize
(long value) Sets the specified value to thesrcSize
field.long
srcStride
(long value) Sets the specified value to thesrcStride
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_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 newVkConvertCooperativeVectorMatrixInfoNV.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
VkConvertCooperativeVectorMatrixInfoNV.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.
-
srcSize
public long srcSize()- Returns:
- the value of the
srcSize
field.
-
srcData
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of thesrcData
field.
-
pDstSize
- Returns:
- a
PointerBuffer
view of the data pointed to by thepDstSize
field.
-
dstData
- Returns:
- a
VkDeviceOrHostAddressKHR
view of thedstData
field.
-
srcComponentType
public int srcComponentType()- Returns:
- the value of the
srcComponentType
field.
-
dstComponentType
public int dstComponentType()- Returns:
- the value of the
dstComponentType
field.
-
numRows
public int numRows()- Returns:
- the value of the
numRows
field.
-
numColumns
public int numColumns()- Returns:
- the value of the
numColumns
field.
-
srcLayout
public int srcLayout()- Returns:
- the value of the
srcLayout
field.
-
srcStride
public long srcStride()- Returns:
- the value of the
srcStride
field.
-
dstLayout
public int dstLayout()- Returns:
- the value of the
dstLayout
field.
-
dstStride
public long dstStride()- Returns:
- the value of the
dstStride
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_CONVERT_COOPERATIVE_VECTOR_MATRIX_INFO_NV
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
srcSize
Sets the specified value to thesrcSize
field. -
srcData
Copies the specifiedVkDeviceOrHostAddressConstKHR
to thesrcData
field. -
srcData
public VkConvertCooperativeVectorMatrixInfoNV.Buffer srcData(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thesrcData
field to the specifiedConsumer
. -
pDstSize
Sets the address of the specifiedPointerBuffer
to thepDstSize
field. -
dstData
Copies the specifiedVkDeviceOrHostAddressKHR
to thedstData
field. -
dstData
public VkConvertCooperativeVectorMatrixInfoNV.Buffer dstData(Consumer<VkDeviceOrHostAddressKHR> consumer) Passes thedstData
field to the specifiedConsumer
. -
srcComponentType
Sets the specified value to thesrcComponentType
field. -
dstComponentType
Sets the specified value to thedstComponentType
field. -
numRows
Sets the specified value to thenumRows
field. -
numColumns
Sets the specified value to thenumColumns
field. -
srcLayout
Sets the specified value to thesrcLayout
field. -
srcStride
Sets the specified value to thesrcStride
field. -
dstLayout
Sets the specified value to thedstLayout
field. -
dstStride
Sets the specified value to thedstStride
field.
-