227 bool getModifyCoverageMask()
const;
228 std::uint32_t getModifiedCoverageMask ( std::uint32_t index )
const;
239 const VkStencilOpState& getFrontFacingStencilCfg()
const;
240 const VkStencilOpState& getBackFacingStencilCfg()
const;
407 void setModifyCoverageMask (
bool v );
408 void setModifiedCoverageMask ( std::uint32_t index, std::uint32_t v );
410 void setDepthCompareOperator ( VkCompareOp v );
411 void setFrontFacingStencilCfg ( VkStencilOpState v );
412 void setBackFacingStencilCfg ( VkStencilOpState v );
414 void addViewport (
const Viewport& vp );
void setEnableDepthWrite(bool v)
Sets the status of the depth write mode.
RenderingOptions()
Constructs a container with default options.
bool getEnableDepthClamp() const
Retrieves the status of the depth clamp feature.
VkSampleCountFlagBits getRasterizationSamples() const
Retrieves currently set sample count for multisampling.
void setEnableAlphaToCoverage(bool v)
Sets the status of the alpha to coverage conversion feature.
void setFrontFace(VkFrontFace v)
Set the front face detection mode.
float getSampleShadingAmount() const
Retrieves the minimum fraction of sample shading.
void setPolygonMode(VkPolygonMode v)
Sets the polygon rendering mode.
float getMaxDepthBounds() const
Retrieves the maximum depth for depth bounds test.
The VPP namespace.
Definition: main.hpp:1
void setEnableSampleShading(bool v)
Sets the status of the samples shading feature.
bool getEnableDepthBoundsTest() const
Retrieves the status of the depth bounds test.
void setEnableDepthClamp(bool v)
Sets the status of the depth clamp feature.
bool getEnableDepthBias() const
Retrieves the status of the depth bias feature.
void setLineWidth(float v)
Sets the line width for rasterizing lines.
void setEnableDepthBias(bool v)
Sets the status of the depth bias feature.
void setEnableDepthBoundsTest(bool v)
Sets the status of the depth bounds test.
bool getEnableDepthTest() const
Retrieves the status of the depth test.
void setRasterizationSamples(VkSampleCountFlagBits v)
Sets the sample count for multisampling.
void setEnableStencilTest(bool v)
Sets the status of the stencil test.
bool getEnableAlphaToCoverage() const
Retrieves the status of the alpha to coverage conversion feature.
void setDepthBiasConstantFactor(float v)
Sets the scalar factor controlling the constant depth value added to each fragment.
bool getEnableResetAlphaToOne() const
Retrieves the status of the alpha reset feature.
bool getEnableRasterizerDiscard() const
Retrieves the status of the rasterizer discard feature.
void setEnableResetAlphaToOne(bool v)
Sets the status of the alpha reset feature.
bool getEnableStencilTest() const
Retrieves the status of the stencil test.
bool getEnableDepthWrite() const
Retrieves the status of the depth write mode.
float getMinDepthBounds() const
Retrieves the minimum depth for depth bounds test.
void setEnableDepthTest(bool v)
Sets the status of the depth test.
void setEnableRasterizerDiscard(bool v)
Sets the status of the rasterizer discard feature.
float getLineWidth() const
Retrieves currently set line width for rasterizing lines.
void setDepthBiasSlopeFactor(float v)
Sets the scalar factor applied to a fragment’s slope in depth bias calculations.
A container for various rendering parameters.
Definition: vppRenderingOptions.hpp:39
Helper class to define simple Vulkan viewport.
Definition: vppViewport.hpp:41
VkPolygonMode getPolygonMode() const
Retrieves currently set polygon mode.
void setDepthBiasClamp(float v)
Sets the maximum (or minimum) depth bias of a fragment.
void setSampleShadingAmount(float v)
Sets the minimum fraction of sample shading.
bool getEnableSampleShading() const
Retrieves the status of the samples shading feature.
void setCullMode(VkCullModeFlagBits v)
Sets the face culling mode.
void setMinDepthBounds(float v)
Sets the minimum depth for depth bounds test.
float getDepthBiasConstantFactor() const
Retrieves the scalar factor controlling the constant depth value added to each fragment.
float getDepthBiasSlopeFactor() const
Retrieves the scalar factor applied to a fragment’s slope in depth bias calculations.
VkCullModeFlagBits getCullMode() const
Retrieves currently set face culling mode.
void setMaxDepthBounds(float v)
Sets the maximum depth for depth bounds test.
VkFrontFace getFrontFace() const
Retrieves currently set front face detection mode.
VkCompareOp getDepthCompareOperator() const
Retrieves comparison operator for the depth test.
float getDepthBiasClamp() const
Retrieves the maximum (or minimum) depth bias of a fragment.