shadingRatePaletteEntryCount must be between 1 and VkPhysicalDeviceShadingRateImagePropertiesNV::shadingRatePaletteSize, inclusivepShadingRatePaletteEntries must be a valid pointer to an array of shadingRatePaletteEntryCount valid VkShadingRatePaletteEntryNV valuesshadingRatePaletteEntryCount must be greater than 0VkPipelineViewportShadingRateImageStateCreateInfoNV, CmdSetViewportShadingRatePaletteNV
struct VkShadingRatePaletteNV {
uint32_t shadingRatePaletteEntryCount;
VkShadingRatePaletteEntryNV const * pShadingRatePaletteEntries;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkShadingRatePaletteNV.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PSHADINGRATEPALETTEENTRIES
The struct member offsets. |
| public static final int | SHADINGRATEPALETTEENTRYCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkShadingRatePaletteNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkShadingRatePaletteNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkShadingRatePaletteNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | |
| public static VkShadingRatePaletteNV. | |
| protected VkShadingRatePaletteNV | 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 VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkShadingRatePaletteNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkShadingRatePaletteNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkShadingRatePaletteNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV | |
| public static VkShadingRatePaletteNV. | |
| public static VkShadingRatePaletteNV. | |
| public static IntBuffer | |
| public static void | npShadingRatePaletteEntries(long struct, IntBuffer value)
Unsafe version of |
| public static int | |
| public static void | nshadingRatePaletteEntryCount(long struct, int value)
Sets the specified value to the |
| public IntBuffer | pShadingRatePaletteEntries()
a pointer to an array of |
| public VkShadingRatePaletteNV | pShadingRatePaletteEntries(IntBuffer value)
Sets the address of the specified |
| public VkShadingRatePaletteNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PSHADINGRATEPALETTEENTRIES | back to summary |
|---|---|
| public static final int PSHADINGRATEPALETTEENTRIES The struct member offsets. | |
| SHADINGRATEPALETTEENTRYCOUNT | back to summary |
|---|---|
| public static final int SHADINGRATEPALETTEENTRYCOUNT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkShadingRatePaletteNV | back to summary |
|---|---|
| protected VkShadingRatePaletteNV(long address, ByteBuffer container) | |
| VkShadingRatePaletteNV | back to summary |
|---|---|
| public VkShadingRatePaletteNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkShadingRatePaletteNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkShadingRatePaletteNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkShadingRatePaletteNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkShadingRatePaletteNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Like
| |
| malloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkShadingRatePaletteNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| npShadingRatePaletteEntries | back to summary |
|---|---|
| public static IntBuffer npShadingRatePaletteEntries(long struct) Unsafe version of | |
| npShadingRatePaletteEntries | back to summary |
|---|---|
| public static void npShadingRatePaletteEntries(long struct, IntBuffer value) Unsafe version of | |
| nshadingRatePaletteEntryCount | back to summary |
|---|---|
| public static int nshadingRatePaletteEntryCount(long struct) Unsafe version of | |
| nshadingRatePaletteEntryCount | back to summary |
|---|---|
| public static void nshadingRatePaletteEntryCount(long struct, int value) Sets the specified value to the | |
| pShadingRatePaletteEntries | back to summary |
|---|---|
| public IntBuffer pShadingRatePaletteEntries() a pointer to an array of
| |
| pShadingRatePaletteEntries | back to summary |
|---|---|
| public VkShadingRatePaletteNV pShadingRatePaletteEntries(IntBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkShadingRatePaletteNV set(VkShadingRatePaletteNV src) Copies the specified struct data to this struct.
| |
| shadingRatePaletteEntryCount | back to summary |
|---|---|
| public int shadingRatePaletteEntryCount() specifies the number of entries in the shading rate image palette.
| |
| 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
| |
VkShadingRatePaletteNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkShadingRatePaletteNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkShadingRatePaletteNV | |
| public IntBuffer | Returns: aIntBuffer view of the data pointed to by the VkShadingRatePaletteNV#pShadingRatePaletteEntries field.
|
| public VkShadingRatePaletteNV. | pShadingRatePaletteEntries(IntBuffer value)
Sets the address of the specified |
| protected VkShadingRatePaletteNV. | |
| public int | Returns: the value of theVkShadingRatePaletteNV#shadingRatePaletteEntryCount field.
|
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkShadingRatePaletteNV 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) | |
| getElementFactory | back to summary |
|---|---|
| protected VkShadingRatePaletteNV getElementFactory() Implements abstract org.
| |
| pShadingRatePaletteEntries | back to summary |
|---|---|
public IntBuffer pShadingRatePaletteEntries()
| |
| pShadingRatePaletteEntries | back to summary |
|---|---|
| public VkShadingRatePaletteNV. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkShadingRatePaletteNV. Implements abstract org.
| |
| shadingRatePaletteEntryCount | back to summary |
|---|---|
public int shadingRatePaletteEntryCount()
| |