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
-
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
-
setFlag
-
setShaderFileName
@QtUninvokable protected final void setShaderFileName(QSGMaterialRhiShader.Stage stage, String filename) -
attributeNames
- Specified by:
attributeNames
in classQSGMaterialShader
-
updateGraphicsPipelineState
@QtUninvokable public boolean updateGraphicsPipelineState(QSGMaterialRhiShader.RenderState state, QSGMaterialRhiShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
updateSampledImage
@QtUninvokable public void updateSampledImage(QSGMaterialRhiShader.RenderState state, int binding, QSGTexture [] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
updateUniformData
@QtUninvokable public boolean updateUniformData(QSGMaterialRhiShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)
withon = true
.
-