Package org.lwjgl.vulkan
Class VkTensorDescriptionARM.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkTensorDescriptionARM.Buffer>
org.lwjgl.system.StructBuffer<VkTensorDescriptionARM,VkTensorDescriptionARM.Buffer>
org.lwjgl.vulkan.VkTensorDescriptionARM.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkTensorDescriptionARM>,NativeResource,Pointer
- Enclosing class:
VkTensorDescriptionARM
public static class VkTensorDescriptionARM.Buffer
extends StructBuffer<VkTensorDescriptionARM,VkTensorDescriptionARM.Buffer>
implements NativeResource
An array of
VkTensorDescriptionARM 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 newVkTensorDescriptionARM.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintdimensionCount(int value) Sets the specified value to thedimensionCountfield.intformat()format(int value) Sets the specified value to theformatfield.pDimensions(LongBuffer value) Sets the address of the specifiedLongBufferto thepDimensionsfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.@Nullable LongBufferpStrides()pStrides(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepStridesfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_TENSOR_DESCRIPTION_ARMvalue to thesTypefield.inttiling()tiling(int value) Sets the specified value to thetilingfield.longusage()usage(long value) Sets the specified value to theusagefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkTensorDescriptionARM.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
VkTensorDescriptionARM.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
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
tiling
public int tiling()- Returns:
- the value of the
tilingfield.
-
format
public int format()- Returns:
- the value of the
formatfield.
-
dimensionCount
public int dimensionCount()- Returns:
- the value of the
dimensionCountfield.
-
pDimensions
- Returns:
- a
LongBufferview of the data pointed to by thepDimensionsfield.
-
pStrides
- Returns:
- a
LongBufferview of the data pointed to by thepStridesfield.
-
usage
public long usage()- Returns:
- the value of the
usagefield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_TENSOR_DESCRIPTION_ARMvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
tiling
Sets the specified value to thetilingfield. -
format
Sets the specified value to theformatfield. -
dimensionCount
Sets the specified value to thedimensionCountfield. -
pDimensions
Sets the address of the specifiedLongBufferto thepDimensionsfield. -
pStrides
Sets the address of the specifiedLongBufferto thepStridesfield. -
usage
Sets the specified value to theusagefield.
-