java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.quick.QSGMaterialShader
io.qt.quick.QSGMaterialRhiShader
- All Implemented Interfaces:
QtObjectInterface
public class QSGMaterialRhiShader extends QSGMaterialShader
Represents a graphics API independent shader program
Java wrapper for Qt class QSGMaterialRhiShader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSGMaterialRhiShader.Flag
Java wrapper for Qt enum QSGMaterialRhiShader::Flagstatic class
QSGMaterialRhiShader.Flags
QFlags type for enumQSGMaterialRhiShader.Flag
static class
QSGMaterialRhiShader.GraphicsPipelineState
Describes state changes that the material wants to apply to the currently active graphics pipeline statestatic class
QSGMaterialRhiShader.RenderState
Encapsulates the current rendering state during a call to QSGMaterialRhiShader::updateUniformData() and the other update type of functionsstatic class
QSGMaterialRhiShader.Stage
Java wrapper for Qt enum QSGMaterialRhiShader::Stage -
Constructor Summary
Constructors Modifier Constructor Description QSGMaterialRhiShader()
protected
QSGMaterialRhiShader(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description String[]
attributeNames()
QSGMaterialRhiShader.Flags
flags()
void
setFlag(QSGMaterialRhiShader.Flags flags)
Overloaded function forsetFlag(io.qt.quick.QSGMaterialRhiShader.Flags, boolean)
withon = true
.void
setFlag(QSGMaterialRhiShader.Flags flags, boolean on)
protected 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
-
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)
-