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