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 class QSGMaterialShader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGMaterialShader::Flag
static 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 enumQSGMaterialShader::Stage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
combinedImageSamplerCount
(int binding) final 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()
-
-
Method Details
-
combinedImageSamplerCount
-
flags
-
setFlag
-
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) -
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterialShader.Flags, boolean)
withon = true
. -
setFlags
Overloaded function for
setFlags(io.qt.quick.QSGMaterialShader.Flags)
.
-