java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterialShader
- All Implemented Interfaces:
QtObjectInterface
Represents a graphics API independent shader program
Java wrapper for Qt's class QSGMaterialShader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSGMaterialShader::Flagstatic final class
QFlags type for enumQSGMaterialShader.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 QSGMaterialShader::updateUniformData() and the other update type of functionsstatic enum
Java wrapper for Qt enum QSGMaterialShader::StageNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSGMaterialShader.Flags
flags()
final void
setFlag
(QSGMaterialShader.Flags flags) Overloaded function forsetFlag(io.qt.quick.QSGMaterialShader.Flags, boolean)
withon = true
.final void
setFlag
(QSGMaterialShader.Flags flags, boolean on) final void
setFlags
(QSGMaterialShader.Flag ... flags) Overloaded function forsetFlags(io.qt.quick.QSGMaterialShader.Flags)
.final void
setFlags
(QSGMaterialShader.Flags flags) protected final void
setShaderFileName
(QSGMaterialShader.Stage stage, String filename) boolean
updateGraphicsPipelineState
(QSGMaterialShader.RenderState state, QSGMaterialShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) void
updateSampledImage
(QSGMaterialShader.RenderState state, int binding, QSGTexture[] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) boolean
updateUniformData
(QSGMaterialShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGMaterialShader
public QSGMaterialShader() -
QSGMaterialShader
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
flags
-
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterialShader.Flags, boolean)
withon = true
. -
setFlag
-
setFlags
Overloaded function for
setFlags(io.qt.quick.QSGMaterialShader.Flags)
. -
setFlags
-
setShaderFileName
@QtUninvokable protected final void setShaderFileName(QSGMaterialShader.Stage stage, String filename) -
updateGraphicsPipelineState
@QtUninvokable public boolean updateGraphicsPipelineState(QSGMaterialShader.RenderState state, QSGMaterialShader.GraphicsPipelineState ps, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
updateSampledImage
@QtUninvokable public void updateSampledImage(QSGMaterialShader.RenderState state, int binding, QSGTexture[] texture, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
updateUniformData
@QtUninvokable public boolean updateUniformData(QSGMaterialShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial)
-