Package org.lwjgl.vulkan
Class VkPipelineCacheHeaderVersionDataGraphQCOM
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineCacheHeaderVersionDataGraphQCOM>
org.lwjgl.vulkan.VkPipelineCacheHeaderVersionDataGraphQCOM
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkPipelineCacheHeaderVersionDataGraphQCOM
extends Struct<VkPipelineCacheHeaderVersionDataGraphQCOM>
implements NativeResource
struct VkPipelineCacheHeaderVersionDataGraphQCOM {
uint32_t headerSize;
VkPipelineCacheHeaderVersion headerVersion;
VkDataGraphModelCacheTypeQCOM cacheType;
uint32_t cacheVersion;
uint32_t toolchainVersion[VK_DATA_GRAPH_MODEL_TOOLCHAIN_VERSION_LENGTH_QCOM];
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPipelineCacheHeaderVersionDataGraphQCOMstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPipelineCacheHeaderVersionDataGraphQCOMinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintcacheType(int value) Sets the specified value to thecacheTypefield.intcacheVersion(int value) Sets the specified value to thecacheVersionfield.calloc()Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withBufferUtils.create(int capacity) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance for the specified memory address.create(long address, int capacity) Create aVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance at the specified memory.static @Nullable VkPipelineCacheHeaderVersionDataGraphQCOMcreateSafe(long address) static @Nullable VkPipelineCacheHeaderVersionDataGraphQCOM.BuffercreateSafe(long address, int capacity) intheaderSize(int value) Sets the specified value to theheaderSizefield.intheaderVersion(int value) Sets the specified value to theheaderVersionfield.malloc()Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated on the specifiedMemoryStack.static intncacheType(long struct) Unsafe version ofcacheType().static voidncacheType(long struct, int value) Unsafe version ofcacheType.static intncacheVersion(long struct) Unsafe version ofcacheVersion().static voidncacheVersion(long struct, int value) Unsafe version ofcacheVersion.static intnheaderSize(long struct) Unsafe version ofheaderSize().static voidnheaderSize(long struct, int value) Unsafe version ofheaderSize.static intnheaderVersion(long struct) Unsafe version ofheaderVersion().static voidnheaderVersion(long struct, int value) Unsafe version ofheaderVersion.static IntBufferntoolchainVersion(long struct) Unsafe version oftoolchainVersion().static intntoolchainVersion(long struct, int index) Unsafe version oftoolchainVersion.static voidntoolchainVersion(long struct, int index, int value) Unsafe version oftoolchainVersion.static voidntoolchainVersion(long struct, IntBuffer value) Unsafe version oftoolchainVersion.Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).inttoolchainVersion(int index) toolchainVersion(int index, int value) Sets the specified value at the specified index of thetoolchainVersionfield.toolchainVersion(IntBuffer value) Copies the specifiedIntBufferto thetoolchainVersionfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
HEADERSIZE
public static final int HEADERSIZEThe struct member offsets. -
HEADERVERSION
public static final int HEADERVERSIONThe struct member offsets. -
CACHETYPE
public static final int CACHETYPEThe struct member offsets. -
CACHEVERSION
public static final int CACHEVERSIONThe struct member offsets. -
TOOLCHAINVERSION
public static final int TOOLCHAINVERSIONThe struct member offsets.
-
-
Constructor Details
-
VkPipelineCacheHeaderVersionDataGraphQCOM
Creates aVkPipelineCacheHeaderVersionDataGraphQCOMinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPipelineCacheHeaderVersionDataGraphQCOM>
-
headerSize
public int headerSize()- Returns:
- the value of the
headerSizefield.
-
headerVersion
public int headerVersion()- Returns:
- the value of the
headerVersionfield.
-
cacheType
public int cacheType()- Returns:
- the value of the
cacheTypefield.
-
cacheVersion
public int cacheVersion()- Returns:
- the value of the
cacheVersionfield.
-
toolchainVersion
- Returns:
- a
IntBufferview of thetoolchainVersionfield.
-
toolchainVersion
public int toolchainVersion(int index) - Returns:
- the value at the specified index of the
toolchainVersionfield.
-
headerSize
Sets the specified value to theheaderSizefield. -
headerVersion
Sets the specified value to theheaderVersionfield. -
cacheType
Sets the specified value to thecacheTypefield. -
cacheVersion
Sets the specified value to thecacheVersionfield. -
toolchainVersion
Copies the specifiedIntBufferto thetoolchainVersionfield. -
toolchainVersion
Sets the specified value at the specified index of thetoolchainVersionfield. -
set
public VkPipelineCacheHeaderVersionDataGraphQCOM set(int headerSize, int headerVersion, int cacheType, int cacheVersion, IntBuffer toolchainVersion) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated withBufferUtils. -
create
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPipelineCacheHeaderVersionDataGraphQCOM.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPipelineCacheHeaderVersionDataGraphQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineCacheHeaderVersionDataGraphQCOM.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPipelineCacheHeaderVersionDataGraphQCOM.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPipelineCacheHeaderVersionDataGraphQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nheaderSize
public static int nheaderSize(long struct) Unsafe version ofheaderSize(). -
nheaderVersion
public static int nheaderVersion(long struct) Unsafe version ofheaderVersion(). -
ncacheType
public static int ncacheType(long struct) Unsafe version ofcacheType(). -
ncacheVersion
public static int ncacheVersion(long struct) Unsafe version ofcacheVersion(). -
ntoolchainVersion
Unsafe version oftoolchainVersion(). -
ntoolchainVersion
public static int ntoolchainVersion(long struct, int index) Unsafe version oftoolchainVersion. -
nheaderSize
public static void nheaderSize(long struct, int value) Unsafe version ofheaderSize. -
nheaderVersion
public static void nheaderVersion(long struct, int value) Unsafe version ofheaderVersion. -
ncacheType
public static void ncacheType(long struct, int value) Unsafe version ofcacheType. -
ncacheVersion
public static void ncacheVersion(long struct, int value) Unsafe version ofcacheVersion. -
ntoolchainVersion
Unsafe version oftoolchainVersion. -
ntoolchainVersion
public static void ntoolchainVersion(long struct, int index, int value) Unsafe version oftoolchainVersion.
-