If the pNext chain of VkGraphicsPipelineCreateInfo includes a VkPipelineFragmentShadingRateEnumStateCreateInfoNV structure, then that structure includes parameters controlling the pipeline fragment shading rate.
If this structure is not present, shadingRateType is considered to be equal to FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV, shadingRate is considered to be equal to FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV, and both elements of combinerOps are considered to be equal to FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR.
struct VkPipelineFragmentShadingRateEnumStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkFragmentShadingRateTypeNV shadingRateType;
VkFragmentShadingRateNV shadingRate;
VkFragmentShadingRateCombinerOpKHR combinerOps[2];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMBINEROPS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SHADINGRATE
The struct member offsets. |
| public static final int | SHADINGRATETYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineFragmentShadingRateEnumStateCreateInfoNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public IntBuffer | combinerOps()
specifies |
| public int | combinerOps(int index)
specifies |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | combinerOps(int index, int value)
Sets the specified value at the specified index of the |
| protected VkPipelineFragmentShadingRateEnumStateCreateInfoNV | 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 VkPipelineFragmentShadingRateEnumStateCreateInfoNV | create()
Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | create(long address)
Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | shadingRate()
specifies a |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public int | shadingRateType()
specifies a |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public int | |
| public int | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | |
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COMBINEROPS | back to summary |
|---|---|
| public static final int COMBINEROPS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SHADINGRATE | back to summary |
|---|---|
| public static final int SHADINGRATE The struct member offsets. | |
| SHADINGRATETYPE | back to summary |
|---|---|
| public static final int SHADINGRATETYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkPipelineFragmentShadingRateEnumStateCreateInfoNV | back to summary |
|---|---|
| protected VkPipelineFragmentShadingRateEnumStateCreateInfoNV(long address, ByteBuffer container) | |
| VkPipelineFragmentShadingRateEnumStateCreateInfoNV | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Returns a new
| |
| combinerOps | back to summary |
|---|---|
| public IntBuffer combinerOps() specifies
| |
| combinerOps | back to summary |
|---|---|
| public int combinerOps(int index) specifies
| |
| combinerOps | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV combinerOps(IntBuffer value) Copies the specified | |
| combinerOps | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV combinerOps(int index, int value) Sets the specified value at the specified index of the | |
| create | back to summary |
|---|---|
| protected VkPipelineFragmentShadingRateEnumStateCreateInfoNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Returns a new
| |
| ncombinerOps | back to summary |
|---|---|
| public static IntBuffer ncombinerOps(long struct) Unsafe version of | |
| ncombinerOps | back to summary |
|---|---|
| public static int ncombinerOps(long struct, int index) Unsafe version of | |
| ncombinerOps | back to summary |
|---|---|
| public static void ncombinerOps(long struct, IntBuffer value) Unsafe version of | |
| ncombinerOps | back to summary |
|---|---|
| public static void ncombinerOps(long struct, int index, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nshadingRate | back to summary |
|---|---|
| public static int nshadingRate(long struct) Unsafe version of | |
| nshadingRate | back to summary |
|---|---|
| public static void nshadingRate(long struct, int value) Unsafe version of | |
| nshadingRateType | back to summary |
|---|---|
| public static int nshadingRateType(long struct) Unsafe version of | |
| nshadingRateType | back to summary |
|---|---|
| public static void nshadingRateType(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV set(int sType, long pNext, int shadingRateType, int shadingRate, IntBuffer combinerOps) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV set(VkPipelineFragmentShadingRateEnumStateCreateInfoNV src) Copies the specified struct data to this struct.
| |
| shadingRate | back to summary |
|---|---|
| public int shadingRate() specifies a
| |
| shadingRate | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV shadingRate(int value) Sets the specified value to the | |
| shadingRateType | back to summary |
|---|---|
| public int shadingRateType() specifies a
| |
| shadingRateType | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV shadingRateType(int value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV sType$Default() Sets the | |
VkPipelineFragmentShadingRateEnumStateCreateInfoNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPipelineFragmentShadingRateEnumStateCreateInfoNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPipelineFragmentShadingRateEnumStateCreateInfoNV 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) | |
| combinerOps | back to summary |
|---|---|
public IntBuffer combinerOps()
| |
| combinerOps | back to summary |
|---|---|
public int combinerOps(int index)
| |
| combinerOps | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Copies the specified | |
| combinerOps | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the specified value at the specified index of the | |
| getElementFactory | back to summary |
|---|---|
| protected VkPipelineFragmentShadingRateEnumStateCreateInfoNV getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Implements abstract org.
| |
| shadingRate | back to summary |
|---|---|
public int shadingRate()
| |
| shadingRate | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the specified value to the | |
| shadingRateType | back to summary |
|---|---|
public int shadingRateType()
| |
| shadingRateType | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineFragmentShadingRateEnumStateCreateInfoNV. Sets the | |