NAME
Qt::OpenGL::QGLShader
PUBLIC METHODS
- QGLShader(QFlags<QGLShader::ShaderTypeBit> type, QObject * parent)
- QGLShader(QFlags<QGLShader::ShaderTypeBit> type, QObject * parent = 0)
- QGLShader(QFlags<QGLShader::ShaderTypeBit> type, const QGLContext * context, QObject * parent)
- QGLShader(QFlags<QGLShader::ShaderTypeBit> type, const QGLContext * context, QObject * parent = 0)
- ~QGLShader()
- bool compileSourceCode(const char * source)
- bool compileSourceCode(const QByteArray & source)
- bool compileSourceCode(const QString & source)
- bool compileSourceFile(const QString & fileName)
- static bool hasOpenGLShaders(QFlags<QGLShader::ShaderTypeBit> type, const QGLContext * context)
- static bool hasOpenGLShaders(QFlags<QGLShader::ShaderTypeBit> type, const QGLContext * context = 0)
- bool isCompiled()
- QString log()
- GLuint shaderId()
- QFlags<QGLShader::ShaderTypeBit> shaderType()
- QByteArray sourceCode()
ENUM VALUES
- Vertex
- Fragment
- Geometry
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.