 |
globjects
1.0.0.000000000000
Strict OpenGL objects wrapper.
|
Go to the documentation of this file.
6 #include <glbinding/gl/types.h>
12 #include <globjects/globjects_api.h>
19 class AbstractStringSource;
25 static NamedString * create(
const std::string & name,
const std::string &
string);
27 static bool isNamedString(
const std::string & name);
28 static NamedString * obtain(
const std::string & name);
31 const std::string & name()
const;
32 std::string string()
const;
33 gl::GLenum type()
const;
37 gl::GLint getParameter(gl::GLenum pname)
const;
39 virtual void notifyChanged(
const Changeable * changeable)
override;
42 static bool hasNativeSupport();
45 static NamedString * create(
const std::string & name,
const std::string &
string, gl::GLenum type);
50 void createNamedString();
51 void deleteNamedString();
57 void registerNamedString();
58 void deregisterNamedString();
Definition: NamedString.h:21
The ref_ptr class provides the interface for a reference pointer.
Definition: LogMessageBuilder.h:20
gl::GLenum m_type
Definition: NamedString.h:64
Contains all the classes that wrap OpenGL functionality.
Allows listening to any Changeable.
Definition: ChangeListener.h:22
std::string m_name
Definition: NamedString.h:61
ref_ptr< AbstractStringSource > m_source
Definition: NamedString.h:63
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