Lines Matching defs:PreRasterizationState

277 struct PreRasterizationState  struct
287 inline const PipelineLayout *getPipelineLayout() const { return pipelineLayout; } in getPipelineLayout()
288 … void overridePipelineLayout(const PipelineLayout *linkedLayout) { pipelineLayout = linkedLayout; } in overridePipelineLayout()
292 inline VkCullModeFlags getCullMode() const { return cullMode; } in getCullMode()
293 inline VkFrontFace getFrontFace() const { return frontFace; } in getFrontFace()
294 inline VkPolygonMode getPolygonMode() const { return polygonMode; } in getPolygonMode()
295 inline VkProvokingVertexModeEXT getProvokingVertexMode() const { return provokingVertexMode; } in getProvokingVertexMode()
296 …nline VkLineRasterizationModeEXT getLineRasterizationMode() const { return lineRasterizationMode; } in getLineRasterizationMode()
298 inline bool hasRasterizerDiscard() const { return rasterizerDiscard; } in hasRasterizerDiscard()
300 inline float getConstantDepthBias() const { return depthBiasEnable ? constantDepthBias : 0; } in getConstantDepthBias()
301 inline float getSlopeDepthBias() const { return depthBiasEnable ? slopeDepthBias : 0; } in getSlopeDepthBias()
302 inline float getDepthBiasClamp() const { return depthBiasEnable ? depthBiasClamp : 0; } in getDepthBiasClamp()
304 inline bool hasDepthRangeUnrestricted() const { return depthRangeUnrestricted; } in hasDepthRangeUnrestricted()
305 inline bool getDepthClampEnable() const { return depthClampEnable; } in getDepthClampEnable()
306 inline bool getDepthClipEnable() const { return depthClipEnable; } in getDepthClipEnable()
307 inline bool getDepthClipNegativeOneToOne() const { return depthClipNegativeOneToOne; } in getDepthClipNegativeOneToOne()
309 inline float getLineWidth() const { return lineWidth; } in getLineWidth()
311 inline const VkRect2D &getScissor() const { return scissor; } in getScissor()
312 inline const VkViewport &getViewport() const { return viewport; } in getViewport()
315 const PipelineLayout *pipelineLayout = nullptr;
317 PreRasterizationDynamicStateFlags dynamicStateFlags = {};
319 bool rasterizerDiscard = false;
320 bool depthClampEnable = false;
321 bool depthClipEnable = false;
322 bool depthClipNegativeOneToOne = false;
323 bool depthBiasEnable = false;
324 bool depthRangeUnrestricted = false;
326 VkCullModeFlags cullMode = 0;
327 VkFrontFace frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;
328 VkPolygonMode polygonMode = VK_POLYGON_MODE_FILL;
329 VkProvokingVertexModeEXT provokingVertexMode = VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT;
330 VkLineRasterizationModeEXT lineRasterizationMode = VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT;
332 float depthBiasClamp = 0.0f;
333 float constantDepthBias = 0.0f;
334 float slopeDepthBias = 0.0f;
336 float lineWidth = 0.0f;
338 VkRect2D scissor = {};
339 VkViewport viewport = {};