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's 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
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
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() -
QSGMaterialShader
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
-