The application can also add a VkPipelineRasterizationStateRasterizationOrderAMD structure to the pNext chain of a VkPipelineRasterizationStateCreateInfo structure. This structure enables selecting the rasterization order to use when rendering with the corresponding graphics pipeline as described in Rasterization Order.
depthClamp feature is not enabled, depthClampEnable must be FALSEfillModeNonSolid feature is not enabled, polygonMode must be POLYGON_MODE_FILL or POLYGON_MODE_FILL_RECTANGLE_NVVK_NV_fill_rectangle extension is not enabled, polygonMode must not be POLYGON_MODE_FILL_RECTANGLE_NVVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::pointPolygons is FALSE, and rasterizerDiscardEnable is FALSE, polygonMode must not be POLYGON_MODE_POINTsType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkDepthBiasRepresentationInfoEXT, VkPipelineRasterizationConservativeStateCreateInfoEXT, VkPipelineRasterizationDepthClipStateCreateInfoEXT, VkPipelineRasterizationLineStateCreateInfoEXT, VkPipelineRasterizationProvokingVertexStateCreateInfoEXT, VkPipelineRasterizationStateRasterizationOrderAMD, or VkPipelineRasterizationStateStreamCreateInfoEXTsType value of each struct in the pNext chain must be uniqueflags must be 0polygonMode must be a valid VkPolygonMode valuecullMode must be a valid combination of VkCullModeFlagBits valuesfrontFace must be a valid VkFrontFace value
struct VkPipelineRasterizationStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineRasterizationStateCreateFlags flags;
VkBool32 depthClampEnable;
VkBool32 rasterizerDiscardEnable;
VkPolygonMode polygonMode;
VkCullModeFlags cullMode;
VkFrontFace frontFace;
VkBool32 depthBiasEnable;
float depthBiasConstantFactor;
float depthBiasClamp;
float depthBiasSlopeFactor;
float lineWidth;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineRasterizationStateCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CULLMODE
The struct member offsets. |
| public static final int | DEPTHBIASCLAMP
The struct member offsets. |
| public static final int | DEPTHBIASCONSTANTFACTOR
The struct member offsets. |
| public static final int | DEPTHBIASENABLE
The struct member offsets. |
| public static final int | DEPTHBIASSLOPEFACTOR
The struct member offsets. |
| public static final int | DEPTHCLAMPENABLE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FRONTFACE
The struct member offsets. |
| public static final int | LINEWIDTH
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | POLYGONMODE
The struct member offsets. |
| public static final int | RASTERIZERDISCARDENABLE
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 | VkPipelineRasterizationStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo. | |
| public static VkPipelineRasterizationStateCreateInfo. | |
| protected VkPipelineRasterizationStateCreateInfo | 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 VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineRasterizationStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo. | |
| public int | |
| public VkPipelineRasterizationStateCreateInfo | |
| public float | |
| public VkPipelineRasterizationStateCreateInfo | |
| public float | depthBiasConstantFactor()
a scalar factor controlling the constant depth value added to each fragment. |
| public VkPipelineRasterizationStateCreateInfo | |
| public boolean | |
| public VkPipelineRasterizationStateCreateInfo | |
| public float | |
| public VkPipelineRasterizationStateCreateInfo | |
| public boolean | |
| public VkPipelineRasterizationStateCreateInfo | |
| public int | |
| public VkPipelineRasterizationStateCreateInfo | |
| public int | frontFace()
a |
| public VkPipelineRasterizationStateCreateInfo | |
| public float | |
| public VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo | |
| public static VkPipelineRasterizationStateCreateInfo. | |
| public static VkPipelineRasterizationStateCreateInfo. | |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static float | |
| 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 VkPipelineRasterizationStateCreateInfo | |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkDepthBiasRepresentationInfoEXT value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationConservativeStateCreateInfoEXT value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationDepthClipStateCreateInfoEXT value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationLineStateCreateInfoEXT value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationProvokingVertexStateCreateInfoEXT value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationStateRasterizationOrderAMD value)
Prepends the specified |
| public VkPipelineRasterizationStateCreateInfo | pNext(VkPipelineRasterizationStateStreamCreateInfoEXT value)
Prepends the specified |
| public int | |
| public VkPipelineRasterizationStateCreateInfo | |
| public boolean | rasterizerDiscardEnable()
controls whether primitives are discarded immediately before the rasterization stage. |
| public VkPipelineRasterizationStateCreateInfo | rasterizerDiscardEnable(boolean value)
Sets the specified value to the |
| public VkPipelineRasterizationStateCreateInfo | set(int sType, long pNext, int flags, boolean depthClampEnable, boolean rasterizerDiscardEnable, int polygonMode, int cullMode, int frontFace, boolean depthBiasEnable, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, float lineWidth)
Initializes this struct with the specified values. |
| public VkPipelineRasterizationStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineRasterizationStateCreateInfo | |
| public VkPipelineRasterizationStateCreateInfo | sType$Default()
Sets the |