![]() |
globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
The ProgramBinary class is used for directly setting binary sources for a Program. More...
#include <globjects/include/globjects/ProgramBinary.h>
Public Member Functions | |
| ProgramBinary (gl::GLenum binaryFormat, const std::vector< char > &binaryData) | |
| ProgramBinary (gl::GLenum binaryFormat, AbstractStringSource *dataSource) | |
| gl::GLenum | format () const |
| const void * | data () const |
| gl::GLsizei | length () const |
| virtual void | notifyChanged (const Changeable *sender) override |
Public Member Functions inherited from globjects::Referenced | |
| Referenced () | |
| void | ref () const |
| void | unref () const |
| int | refCounter () const |
Public Member Functions inherited from globjects::HeapOnly | |
| HeapOnly () | |
| void | destroy () const |
Public Member Functions inherited from globjects::Changeable | |
| void | changed () const |
| void | registerListener (ChangeListener *listener) |
| void | deregisterListener (ChangeListener *listener) |
Protected Member Functions | |
| virtual | ~ProgramBinary () |
| void | validate () const |
Protected Member Functions inherited from globjects::Referenced | |
| virtual | ~Referenced () |
Protected Member Functions inherited from globjects::HeapOnly | |
| virtual | ~HeapOnly () |
Protected Member Functions inherited from globjects::ChangeListener | |
| virtual | ~ChangeListener () |
Protected Attributes | |
| gl::GLenum | m_binaryFormat |
| ref_ptr< AbstractStringSource > | m_dataSource |
| bool | m_valid |
| std::vector< unsigned char > | m_binaryData |
The ProgramBinary class is used for directly setting binary sources for a Program.
| globjects::ProgramBinary::ProgramBinary | ( | gl::GLenum | binaryFormat, |
| const std::vector< char > & | binaryData | ||
| ) |
| globjects::ProgramBinary::ProgramBinary | ( | gl::GLenum | binaryFormat, |
| AbstractStringSource * | dataSource | ||
| ) |
|
protectedvirtual |
| gl::GLenum globjects::ProgramBinary::format | ( | ) | const |
| const void* globjects::ProgramBinary::data | ( | ) | const |
| gl::GLsizei globjects::ProgramBinary::length | ( | ) | const |
|
overridevirtual |
Reimplemented from globjects::ChangeListener.
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
1.8.11