 |
globjects
1.0.0.000000000000
Strict OpenGL objects wrapper.
|
Go to the documentation of this file.
6 #include <glbinding/gl/types.h>
8 #include <globjects/globjects_api.h>
19 class AbstractStringSource;
30 ProgramBinary(gl::GLenum binaryFormat,
const std::vector<char> & binaryData);
33 gl::GLenum format()
const;
34 const void * data()
const;
35 gl::GLsizei length()
const;
37 virtual void notifyChanged(
const Changeable* sender)
override;
42 void validate()
const;
The ref_ptr class provides the interface for a reference pointer.
Definition: LogMessageBuilder.h:20
std::vector< unsigned char > m_binaryData
Definition: ProgramBinary.h:49
Contains all the classes that wrap OpenGL functionality.
Allows listening to any Changeable.
Definition: ChangeListener.h:22
bool m_valid
Definition: ProgramBinary.h:48
gl::GLenum m_binaryFormat
Definition: ProgramBinary.h:45
ref_ptr< AbstractStringSource > m_dataSource
Definition: ProgramBinary.h:46
The ProgramBinary class is used for directly setting binary sources for a Program.
Definition: ProgramBinary.h:27
Superclass for all classes that use reference counting in globjects.
Definition: Referenced.h:22
Superclass for all types of static and dynamic strings, e.g. for the use as Shader code.
Definition: AbstractStringSource.h:25
Superclass of all objects that want others to signal that they have changed.
Definition: Changeable.h:22