The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html