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
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGMaterialRhiShader::Flag
static final class
QFlags
type for enumQSGMaterialRhiShader.Flag
static class
Describes state changes that the material wants to apply to the currently active graphics pipeline statestatic class
Encapsulates the current rendering state during a call to QSGMaterialRhiShader::updateUniformData() and the other update type of functionsstatic enum
Java wrapper for Qt enumQSGMaterialRhiShader::Stage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString []
flags()
final void
Overloaded function forsetFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)
withon = true
.final void
setFlag
(QSGMaterialRhiShader.Flags flags, boolean on) protected final void
setShaderFileName
(QSGMaterialRhiShader.Stage stage, String filename) boolean
updateGraphicsPipelineState
(QSGMaterialRhiShader.RenderState state, QSGMaterialRhiShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) void
updateSampledImage
(QSGMaterialRhiShader.RenderState state, int binding, QSGTexture [] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) boolean
updateUniformData
(QSGMaterialRhiShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) Methods inherited from class io.qt.quick.QSGMaterialShader
activate, compile, deactivate, fragmentShader, initialize, program, setShaderSourceFile, setShaderSourceFiles, updateState, vertexShader
Methods 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:
attributeNames
in 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
.
-