java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterialShader
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSGMaterialRhiShader
,QSGSimpleMaterialShader
Represents an OpenGL shader program in the renderer
Java wrapper for Qt class QSGMaterialShader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QSGMaterialShader::RenderState encapsulates the current rendering state during a call to QSGMaterialShader::updateState()Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
abstract String []
protected void
compile()
void
protected String
protected void
final QOpenGLShaderProgram
program()
protected final void
setShaderSourceFile
(QOpenGLShader.ShaderType type, String sourceFile) protected final void
setShaderSourceFiles
(QOpenGLShader.ShaderType type, Collection<String> sourceFiles) void
updateState
(QSGMaterialShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) protected String
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGMaterialShader
public QSGMaterialShader()
-
-
Method Details
-
program
-
setShaderSourceFile
@QtUninvokable protected final void setShaderSourceFile(QOpenGLShader.ShaderType type, String sourceFile) -
setShaderSourceFiles
@QtUninvokable protected final void setShaderSourceFiles(QOpenGLShader.ShaderType type, Collection<String> sourceFiles) -
activate
-
attributeNames
-
compile
-
deactivate
-
fragmentShader
-
initialize
-
updateState
@QtUninvokable public void updateState(QSGMaterialShader.RenderState state, QSGMaterial newMaterial, QSGMaterial oldMaterial) -
vertexShader
-