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;
gl::GLenum m_binaryFormat
Definition: ProgramBinary.h:45
The ref_ptr class provides the interface for a reference pointer.
Definition: LogMessageBuilder.h:20
Contains all the classes that wrap OpenGL functionality.
Superclass of all objects that want others to signal that they have changed.
Definition: Changeable.h:22
std::vector< unsigned char > m_binaryData
Definition: ProgramBinary.h:49
bool m_valid
Definition: ProgramBinary.h:48
The ProgramBinary class is used for directly setting binary sources for a Program.
Definition: ProgramBinary.h:27
ref_ptr< AbstractStringSource > m_dataSource
Definition: ProgramBinary.h:46
Allows listening to any Changeable.
Definition: ChangeListener.h:22
Superclass for all types of static and dynamic strings, e.g. for the use as Shader code...
Definition: AbstractStringSource.h:25
Superclass for all classes that use reference counting in globjects.
Definition: Referenced.h:22