If this structure is not included in the pNext chain, conservativeRasterizationMode is considered to be CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT, and and conservative rasterization is disabled.
Polygon rasterization can be made conservative by setting conservativeRasterizationMode to CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT or CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT in VkPipelineRasterizationConservativeStateCreateInfoEXT.
If conservativePointAndLineRasterization is supported, conservative rasterization can be applied to line and point primitives, otherwise it must be disabled.
extraPrimitiveOverestimationSize must be in the range of 0.0 to VkPhysicalDeviceConservativeRasterizationPropertiesEXT::maxExtraPrimitiveOverestimationSize inclusivesType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXTflags must be 0conservativeRasterizationMode must be a valid VkConservativeRasterizationModeEXT value
struct VkPipelineRasterizationConservativeStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkPipelineRasterizationConservativeStateCreateFlagsEXT flags;
VkConservativeRasterizationModeEXT conservativeRasterizationMode;
float extraPrimitiveOverestimationSize;
}
| 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 | CONSERVATIVERASTERIZATIONMODE
The struct member offsets. |
| public static final int | EXTRAPRIMITIVEOVERESTIMATIONSIZE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
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 | VkPipelineRasterizationConservativeStateCreateInfoEXT(ByteBuffer container)
Creates a |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CONSERVATIVERASTERIZATIONMODE | back to summary |
|---|---|
| public static final int CONSERVATIVERASTERIZATIONMODE The struct member offsets. | |
| EXTRAPRIMITIVEOVERESTIMATIONSIZE | back to summary |
|---|---|
| public static final int EXTRAPRIMITIVEOVERESTIMATIONSIZE The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| VkPipelineRasterizationConservativeStateCreateInfoEXT | back to summary |
|---|---|
| protected VkPipelineRasterizationConservativeStateCreateInfoEXT(long address, ByteBuffer container) | |
| VkPipelineRasterizationConservativeStateCreateInfoEXT | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| conservativeRasterizationMode | back to summary |
|---|---|
| public int conservativeRasterizationMode() the conservative rasterization mode to use.
| |
| conservativeRasterizationMode | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT conservativeRasterizationMode(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkPipelineRasterizationConservativeStateCreateInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Like
| |
| extraPrimitiveOverestimationSize | back to summary |
|---|---|
| public float extraPrimitiveOverestimationSize() the extra size in pixels to increase the generating primitive during conservative rasterization at each of its edges in | |
| extraPrimitiveOverestimationSize | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT extraPrimitiveOverestimationSize(float value) Sets the specified value to the | |
| flags | back to summary |
|---|---|
| public int flags() reserved for future use.
| |
| flags | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPipelineRasterizationConservativeStateCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nconservativeRasterizationMode | back to summary |
|---|---|
| public static int nconservativeRasterizationMode(long struct) Unsafe version of | |
| nconservativeRasterizationMode | back to summary |
|---|---|
| public static void nconservativeRasterizationMode(long struct, int value) Unsafe version of | |
| nextraPrimitiveOverestimationSize | back to summary |
|---|---|
| public static float nextraPrimitiveOverestimationSize(long struct) Unsafe version of | |
| nextraPrimitiveOverestimationSize | back to summary |
|---|---|
| public static void nextraPrimitiveOverestimationSize(long struct, float value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, 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 | |
| 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 VkPipelineRasterizationConservativeStateCreateInfoEXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT set(int sType, long pNext, int flags, int conservativeRasterizationMode, float extraPrimitiveOverestimationSize) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT set(VkPipelineRasterizationConservativeStateCreateInfoEXT src) Copies the specified struct data to this struct.
| |
| 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 VkPipelineRasterizationConservativeStateCreateInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT sType$Default() Sets the | |
VkPipelineRasterizationConservativeStateCreateInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPipelineRasterizationConservativeStateCreateInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPipelineRasterizationConservativeStateCreateInfoEXT 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) | |
| conservativeRasterizationMode | back to summary |
|---|---|
public int conservativeRasterizationMode()
| |
| conservativeRasterizationMode | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the specified value to the | |
| extraPrimitiveOverestimationSize | back to summary |
|---|---|
public float extraPrimitiveOverestimationSize()
| |
| extraPrimitiveOverestimationSize | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkPipelineRasterizationConservativeStateCreateInfoEXT getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPipelineRasterizationConservativeStateCreateInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineRasterizationConservativeStateCreateInfoEXT. Sets the | |