offset member of each element of pMapEntries must be less than dataSizesize member of each element of pMapEntries must be less than or equal to dataSize minus offsetconstantID value of each element of pMapEntries must be unique within pMapEntriesmapEntryCount is not 0, pMapEntries must be a valid pointer to an array of mapEntryCount valid VkSpecializationMapEntry structuresdataSize is not 0, pData must be a valid pointer to an array of dataSize bytesVkPipelineShaderStageCreateInfo, VkShaderCreateInfoEXT, VkSpecializationMapEntry
struct VkSpecializationInfo {
uint32_t mapEntryCount;
VkSpecializationMapEntry const * pMapEntries;
size_t dataSize;
void const * pData;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSpecializationInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DATASIZE
The struct member offsets. |
| public static final int | MAPENTRYCOUNT
The struct member offsets. |
| public static final int | PDATA
The struct member offsets. |
| public static final int | PMAPENTRIES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSpecializationInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSpecializationInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSpecializationInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | |
| public static VkSpecializationInfo. | |
| protected VkSpecializationInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSpecializationInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | |
| public long | |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSpecializationInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSpecializationInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo | |
| public static VkSpecializationInfo. | |
| public static VkSpecializationInfo. | |
| public int | |
| public static long | |
| public static void | ndataSize(long struct, long value)
Sets the specified value to the |
| public static int | |
| public static void | nmapEntryCount(long struct, int value)
Sets the specified value to the |
| public static ByteBuffer | |
| public static void | |
| public static VkSpecializationMapEntry. | |
| public static void | |
| public ByteBuffer | |
| public VkSpecializationInfo | |
| public VkSpecializationMapEntry. | pMapEntries()
a pointer to an array of |
| public VkSpecializationInfo | pMapEntries(VkSpecializationMapEntry.
Sets the address of the specified |
| public VkSpecializationInfo | set(VkSpecializationMapEntry.
Initializes this struct with the specified values. |
| public VkSpecializationInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DATASIZE | back to summary |
|---|---|
| public static final int DATASIZE The struct member offsets. | |
| MAPENTRYCOUNT | back to summary |
|---|---|
| public static final int MAPENTRYCOUNT The struct member offsets. | |
| PDATA | back to summary |
|---|---|
| public static final int PDATA The struct member offsets. | |
| PMAPENTRIES | back to summary |
|---|---|
| public static final int PMAPENTRIES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkSpecializationInfo | back to summary |
|---|---|
| protected VkSpecializationInfo(long address, ByteBuffer container) | |
| VkSpecializationInfo | back to summary |
|---|---|
| public VkSpecializationInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkSpecializationInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkSpecializationInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSpecializationInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSpecializationInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkSpecializationInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSpecializationInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSpecializationInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSpecializationInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkSpecializationInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkSpecializationInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkSpecializationInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkSpecializationInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkSpecializationInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkSpecializationInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkSpecializationInfo. Like
| |
| dataSize | back to summary |
|---|---|
| public long dataSize() the byte size of the
| |
| malloc | back to summary |
|---|---|
| public static VkSpecializationInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkSpecializationInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSpecializationInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSpecializationInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkSpecializationInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSpecializationInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSpecializationInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSpecializationInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mapEntryCount | back to summary |
|---|---|
| public int mapEntryCount() the number of entries in the
| |
| ndataSize | back to summary |
|---|---|
| public static long ndataSize(long struct) Unsafe version of | |
| ndataSize | back to summary |
|---|---|
| public static void ndataSize(long struct, long value) Sets the specified value to the | |
| nmapEntryCount | back to summary |
|---|---|
| public static int nmapEntryCount(long struct) Unsafe version of | |
| nmapEntryCount | back to summary |
|---|---|
| public static void nmapEntryCount(long struct, int value) Sets the specified value to the | |
| npData | back to summary |
|---|---|
| public static ByteBuffer npData(long struct) Unsafe version of
| |
| npData | back to summary |
|---|---|
| public static void npData(long struct, ByteBuffer value) Unsafe version of | |
| npMapEntries | back to summary |
|---|---|
| public static VkSpecializationMapEntry. Unsafe version of
| |
| npMapEntries | back to summary |
|---|---|
| public static void npMapEntries(long struct, VkSpecializationMapEntry. Unsafe version of | |
| pData | back to summary |
|---|---|
| public ByteBuffer pData() contains the actual constant values to specialize with.
| |
| pData | back to summary |
|---|---|
| public VkSpecializationInfo pData(ByteBuffer value) Sets the address of the specified | |
| pMapEntries | back to summary |
|---|---|
| public VkSpecializationMapEntry. a pointer to an array of
| |
| pMapEntries | back to summary |
|---|---|
| public VkSpecializationInfo pMapEntries(VkSpecializationMapEntry. Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkSpecializationInfo set(VkSpecializationMapEntry. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkSpecializationInfo set(VkSpecializationInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkSpecializationInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkSpecializationInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| protected VkSpecializationInfo | |
| public int | |
| public ByteBuffer | |
| public VkSpecializationInfo. | pData(ByteBuffer value)
Sets the address of the specified |
| public VkSpecializationMapEntry. | Returns: aVkSpecializationMapEntry. view of the struct array pointed to by the VkSpecializationInfo#pMapEntries field.
|
| public VkSpecializationInfo. | pMapEntries(VkSpecializationMapEntry.
Sets the address of the specified |
| protected VkSpecializationInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkSpecializationInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| dataSize | back to summary |
|---|---|
public long dataSize()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkSpecializationInfo getElementFactory() Implements abstract org.
| |
| mapEntryCount | back to summary |
|---|---|
public int mapEntryCount()
| |
| pData | back to summary |
|---|---|
public ByteBuffer pData()
| |
| pData | back to summary |
|---|---|
| public VkSpecializationInfo. Sets the address of the specified | |
| pMapEntries | back to summary |
|---|---|
public VkSpecializationMapEntry.
| |
| pMapEntries | back to summary |
|---|---|
| public VkSpecializationInfo. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkSpecializationInfo. Implements abstract org.
| |