java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterialShader
io.qt.quick.QSGMaterialRhiShader
- All Implemented Interfaces:
QtObjectInterface
Represents a graphics API independent shader program
Java wrapper for Qt class QSGMaterialRhiShader
- Since:
- This class was introduced in Qt 5.14.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQSGMaterialRhiShader::Flagstatic final classQFlagstype for enumQSGMaterialRhiShader.Flagstatic classDescribes state changes that the material wants to apply to the currently active graphics pipeline statestatic classEncapsulates the current rendering state during a call to QSGMaterialRhiShader::updateUniformData() and the other update type of functionsstatic enumJava wrapper for Qt enumQSGMaterialRhiShader::Stage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString []flags()final voidOverloaded function forsetFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)withon = true.final voidsetFlag(QSGMaterialRhiShader.Flags flags, boolean on) protected final voidsetShaderFileName(QSGMaterialRhiShader.Stage stage, String filename) booleanupdateGraphicsPipelineState(QSGMaterialRhiShader.RenderState state, QSGMaterialRhiShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) voidupdateSampledImage(QSGMaterialRhiShader.RenderState state, int binding, QSGTexture [] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) booleanupdateUniformData(QSGMaterialRhiShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) Methods inherited from class io.qt.quick.QSGMaterialShader
activate, compile, deactivate, fragmentShader, initialize, program, setShaderSourceFile, setShaderSourceFiles, updateState, vertexShaderMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGMaterialRhiShader
public QSGMaterialRhiShader()
-
-
Method Details
-
flags
- Returns:
-
setFlag
- Parameters:
flags-on-
-
setShaderFileName
@QtUninvokable protected final void setShaderFileName(QSGMaterialRhiShader.Stage stage, String filename) - Parameters:
stage-filename-
-
attributeNames
- Specified by:
attributeNamesin classQSGMaterialShader- Returns:
-
updateGraphicsPipelineState
@QtUninvokable public boolean updateGraphicsPipelineState(QSGMaterialRhiShader.RenderState state, QSGMaterialRhiShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) - Parameters:
state-ps-newMaterial-oldMaterial-- Returns:
-
updateSampledImage
@QtUninvokable public void updateSampledImage(QSGMaterialRhiShader.RenderState state, int binding, QSGTexture [] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) - Parameters:
state-binding-texture-newMaterial-oldMaterial-
-
updateUniformData
@QtUninvokable public boolean updateUniformData(QSGMaterialRhiShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) - Parameters:
state-newMaterial-oldMaterial-- Returns:
-
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)withon = true.
-