java.lang.Object
io.qt.internal.QtJambiObject
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's class QSGMaterialRhiShader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSGMaterialRhiShader::Flagstatic 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 enum QSGMaterialRhiShader::StageNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
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() -
QSGMaterialRhiShader
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
flags
-
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)
withon = true
. -
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)
-