Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGRhiSamplerDescription Struct Reference

\variable QSSGRhiGraphicsPipelineState::depthFunc More...

#include <qssgrhicontext.h>

+ Collaboration diagram for QSSGRhiSamplerDescription:

Public Attributes

QRhiSampler::Filter minFilter
 
QRhiSampler::Filter magFilter
 
QRhiSampler::Filter mipmap
 
QRhiSampler::AddressMode hTiling
 
QRhiSampler::AddressMode vTiling
 
QRhiSampler::AddressMode zTiling
 

Detailed Description

\variable QSSGRhiGraphicsPipelineState::depthFunc

The depth comparison function.

See also
QRhiGraphicsPipeline::CompareOp

\variable QSSGRhiGraphicsPipelineState::cullMode

Specifies the culling mode.

See also
QRhiGraphicsPipeline::CullMode

\variable QSSGRhiGraphicsPipelineState::stencilOpFrontState

Describes the stencil operation state.

See also
QRhiGraphicsPipeline::StencilOpState

\variable QSSGRhiGraphicsPipelineState::stencilWriteMask

The stencil write mask value. The default value is 0xFF.

See also
QRhiGraphicsPipeline::stencilWriteMask()

\variable QSSGRhiGraphicsPipelineState::stencilRef

The active stencil reference value.

Note
Only used when \l{QSSGRhiGraphicsPipelineState::Flag::}{UsesStencilRef} is set.
See also
QRhiCommandBuffer::setStencilRef()

\variable QSSGRhiGraphicsPipelineState::depthBias

The depth bias. The default value is 0.

See also
QRhiGraphicsPipeline::depthBias()

\variable QSSGRhiGraphicsPipelineState::slopeScaledDepthBias

The slope scaled depth bias. The default value is 0.

See also
QRhiGraphicsPipeline::slopeScaledDepthBias()

\variable QSSGRhiGraphicsPipelineState::targetBlend

The blend state for one color attachment.

See also
QRhiGraphicsPipeline::TargetBlend

\variable QSSGRhiGraphicsPipelineState::colorAttachmentCount

The number of color attachments. The default is 1.

See also
QRhiTextureRenderTargetDescription::setColorAttachments(), QRhiTextureRenderTargetDescription::colorAttachmentCount()

\variable QSSGRhiGraphicsPipelineState::viewport

The viewport dimensions used for rendering.

\variable QSSGRhiGraphicsPipelineState::scissor

The scissor rect.

Note
Only used if \l{QSSGRhiGraphicsPipelineState::Flag::}{UsesScissor} is set.
See also
QRhiCommandBuffer::setScissor()

\variable QSSGRhiGraphicsPipelineState::lineWidth

The line width used. The default is 1.0

Note
For values other than 1.0 it's required that feature \l QRhi::WideLines is reported as supported at runtime.

\variable QSSGRhiGraphicsPipelineState::polygonMode

The polygon mode value. The default is \l{QRhiGraphicsPipeline::Fill}{Fill}.

See also
QRhiGraphicsPipeline::polygonMode()

\inmodule QtQuick3D

Since
6.7

QSSGRhiSamplerDescription.

Convenience class used to request a \l QRhiSampler from QtQuick3D internal cache.

Note
Samplers are owned by QtQuick3D.
See also
QSSGRhiContext::sampler()

Definition at line 87 of file qssgrhicontext.h.

Member Data Documentation

◆ hTiling

QRhiSampler::AddressMode QSSGRhiSamplerDescription::hTiling

Definition at line 92 of file qssgrhicontext.h.

◆ magFilter

QRhiSampler::Filter QSSGRhiSamplerDescription::magFilter

Definition at line 90 of file qssgrhicontext.h.

◆ minFilter

QRhiSampler::Filter QSSGRhiSamplerDescription::minFilter

Definition at line 89 of file qssgrhicontext.h.

◆ mipmap

QRhiSampler::Filter QSSGRhiSamplerDescription::mipmap

Definition at line 91 of file qssgrhicontext.h.

◆ vTiling

QRhiSampler::AddressMode QSSGRhiSamplerDescription::vTiling

Definition at line 93 of file qssgrhicontext.h.

◆ zTiling

QRhiSampler::AddressMode QSSGRhiSamplerDescription::zTiling

Definition at line 94 of file qssgrhicontext.h.


The documentation for this struct was generated from the following file: