15 #include <vsg/state/GraphicsPipeline.h>
28 VkBool32 depthClampEnable = VK_FALSE;
29 VkBool32 rasterizerDiscardEnable = VK_FALSE;
30 VkPolygonMode polygonMode = VK_POLYGON_MODE_FILL;
31 VkCullModeFlags cullMode = VK_CULL_MODE_BACK_BIT;
32 VkFrontFace frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;
33 VkBool32 depthBiasEnable = VK_FALSE;
34 float depthBiasConstantFactor = 1.0f;
35 float depthBiasClamp = 0.0f;
36 float depthBiasSlopeFactor = 1.0f;
37 float lineWidth = 1.0f;
41 void read(
Input& input)
override;
42 void write(
Output& output)
const override;
43 void apply(
Context& context, VkGraphicsPipelineCreateInfo& pipelineInfo)
const override;
RasterizationState encapsulates VkPipelineRasterizationStateCreateInfo settings passed when setting u...
Definition: RasterizationState.h:22
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...