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>.
|
Functions | |
QRhiVertexInputAttribute::Format | toVertexInputFormat (QSSGRenderComponentType compType, quint32 numComps) |
QRhiGraphicsPipeline::Topology | toTopology (QSSGRenderDrawMode drawMode) |
void | bakeVertexInputLocations (QSSGRhiInputAssemblerState *ia, const QSSGRhiShaderPipeline &shaders, int instanceBufferBinding) |
QRhiSampler::Filter | toRhi (QSSGRenderTextureFilterOp op) |
QRhiSampler::AddressMode | toRhi (QSSGRenderTextureCoordOp tiling) |
QRhiGraphicsPipeline::CullMode | toCullMode (QSSGCullFaceMode cullFaceMode) |
void QSSGRhiHelpers::bakeVertexInputLocations | ( | QSSGRhiInputAssemblerState * | ia, |
const QSSGRhiShaderPipeline & | shaders, | ||
int | instanceBufferBinding ) |
Definition at line 324 of file qssgrhicontext.cpp.
References QVarLengthArray< T, Prealloc >::at(), attrs, QRhiVertexInputLayout::cbeginAttributes(), QRhiVertexInputLayout::cendAttributes(), QRhiVertexInputAttribute::Float4, it, sem, and QRhiVertexInputLayout::setAttributes().
Referenced by RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
|
inline |
Definition at line 87 of file qssgrhicontext_p.h.
References QRhiGraphicsPipeline::Back, Back, Disabled, QRhiGraphicsPipeline::Front, Front, FrontAndBack, QRhiGraphicsPipeline::None, qWarning, and Unknown.
Referenced by RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
|
inline |
Definition at line 71 of file qssgrhicontext_p.h.
References QRhiSampler::ClampToEdge, ClampToEdge, QRhiSampler::Mirror, MirroredRepeat, QRhiSampler::Repeat, Repeat, and Unknown.
|
inline |
Definition at line 57 of file qssgrhicontext_p.h.
References QRhiSampler::Linear, Linear, QRhiSampler::Nearest, Nearest, and None.
Referenced by addOpaqueDepthPrePassBindings(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().
QRhiGraphicsPipeline::Topology QSSGRhiHelpers::toTopology | ( | QSSGRenderDrawMode | drawMode | ) |
Definition at line 302 of file qssgrhicontext.cpp.
References LineLoop, QRhiGraphicsPipeline::Lines, Lines, QRhiGraphicsPipeline::LineStrip, LineStrip, QRhiGraphicsPipeline::Points, Points, QSSG_ASSERT_X, QRhiGraphicsPipeline::TriangleFan, TriangleFan, QRhiGraphicsPipeline::Triangles, Triangles, QRhiGraphicsPipeline::TriangleStrip, and TriangleStrip.
QRhiVertexInputAttribute::Format QSSGRhiHelpers::toVertexInputFormat | ( | QSSGRenderComponentType | compType, |
quint32 | numComps ) |
Definition at line 256 of file qssgrhicontext.cpp.
References QRhiVertexInputAttribute::Float, QRhiVertexInputAttribute::Float2, QRhiVertexInputAttribute::Float3, Float32, QRhiVertexInputAttribute::Float4, Int32, Q_ASSERT, QRhiVertexInputAttribute::SInt, QRhiVertexInputAttribute::SInt2, QRhiVertexInputAttribute::SInt3, QRhiVertexInputAttribute::SInt4, QRhiVertexInputAttribute::UInt, QRhiVertexInputAttribute::UInt2, QRhiVertexInputAttribute::UInt3, QRhiVertexInputAttribute::UInt4, and UnsignedInt32.