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
QSGOutlinedTextRhiShader Class Reference
+ Inheritance diagram for QSGOutlinedTextRhiShader:
+ Collaboration diagram for QSGOutlinedTextRhiShader:

Public Member Functions

 QSGOutlinedTextRhiShader (QFontEngine::GlyphFormat glyphFormat, int viewCount, bool alphaTexture)
 
- Public Member Functions inherited from QSGStyledTextRhiShader
 QSGStyledTextRhiShader (QFontEngine::GlyphFormat glyphFormat, int viewCount, bool alphaTexture)
 
bool updateUniformData (RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) override
 This function is called by the scene graph to get the contents of the shader program's uniform buffer updated.
 
- Public Member Functions inherited from QSG8BitTextMaskRhiShader
 QSG8BitTextMaskRhiShader (QFontEngine::GlyphFormat glyphFormat, int viewCount, bool alphaTexture)
 
- Public Member Functions inherited from QSGTextMaskRhiShader
 QSGTextMaskRhiShader (QFontEngine::GlyphFormat glyphFormat, int viewCount)
 
bool updateUniformData (RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) override
 This function is called by the scene graph to get the contents of the shader program's uniform buffer updated.
 
void updateSampledImage (RenderState &state, int binding, QSGTexture **texture, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) override
 This function is called by the scene graph to prepare use of sampled images in the shader, typically in the form of combined image samplers.
 
- Public Member Functions inherited from QSGMaterialShader
 QSGMaterialShader ()
 Constructs a new QSGMaterialShader.
 
virtual ~QSGMaterialShader ()
 
virtual bool updateGraphicsPipelineState (RenderState &state, GraphicsPipelineState *ps, QSGMaterial *newMaterial, QSGMaterial *oldMaterial)
 This function is called by the scene graph to enable the material to provide a custom set of graphics state.
 
Flags flags () const
 
void setFlag (Flags flags, bool on=true)
 Sets the flags on this material shader if on is true; otherwise clears the specified flags.
 
void setFlags (Flags flags)
 Sets the flags for this material shader.
 
int combinedImageSamplerCount (int binding) const
 Returns the number of elements in the combined image sampler variable at binding.
 

Additional Inherited Members

- Public Types inherited from QSGMaterialShader
enum  Flag { UpdatesGraphicsPipelineState = 0x0001 }
 Flag values to indicate special material properties. More...
 
enum  Stage { VertexStage , FragmentStage }
 
- Protected Member Functions inherited from QSGMaterialShader
 QSGMaterialShader (QSGMaterialShaderPrivate &dd)
 
void setShaderFileName (Stage stage, const QString &filename)
 Sets the filename for the shader for the specified stage.
 
void setShaderFileName (Stage stage, const QString &filename, int viewCount)
 Sets the filename for the shader for the specified stage.
 
void setShader (Stage stage, const QShader &shader)
 Sets the shader for the specified stage.
 
- Protected Attributes inherited from QSGTextMaskRhiShader
QFontEngine::GlyphFormat m_glyphFormat
 
quint32 m_currentUbufOffset
 

Detailed Description

Definition at line 295 of file qsgdefaultglyphnode_p.cpp.

Constructor & Destructor Documentation

◆ QSGOutlinedTextRhiShader()

QSGOutlinedTextRhiShader::QSGOutlinedTextRhiShader ( QFontEngine::GlyphFormat glyphFormat,
int viewCount,
bool alphaTexture )
inline

Definition at line 298 of file qsgdefaultglyphnode_p.cpp.

References QSGMaterialShader::FragmentStage, QStringLiteral, QSGMaterialShader::setShaderFileName(), and QSGMaterialShader::VertexStage.

+ Here is the call graph for this function:

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