#include <object.h>
Public Types | |
typedef detail::NonCopyable | BaseType |
typedef Object | ThisType |
Public Member Functions | |
const Context * | context (void) const |
Context * | context (void) |
bool | isValid (void) const |
GLuint | name (void) const |
virtual Type | type (void) const =0 |
virtual | ~Object (void) |
Protected Member Functions | |
void | destroy (void) |
virtual void | doDestroy (void)=0 |
virtual bool | doIsValid (void) const =0 |
Object (Context *ctx) | |
Protected Attributes | |
Context * | m_context |
GLuint | m_name |
Friends | |
class | Context |
Reimplemented from glw::detail::NonCopyable.
Reimplemented in glw::Program, glw::Framebuffer, glw::Texture, glw::Buffer, glw::Renderbuffer, glw::Renderable, glw::Texture2D, glw::TextureCube, glw::Shader, glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
typedef Object glw::Object::ThisType |
Reimplemented from glw::detail::NonCopyable.
Reimplemented in glw::Program, glw::Framebuffer, glw::Texture, glw::Buffer, glw::Renderbuffer, glw::Renderable, glw::Texture2D, glw::TextureCube, glw::Shader, glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
virtual glw::Object::~Object | ( | void | ) | [inline, virtual] |
glw::Object::Object | ( | Context * | ctx | ) | [inline, protected] |
const Context* glw::Object::context | ( | void | ) | const [inline] |
Context* glw::Object::context | ( | void | ) | [inline] |
void glw::Object::destroy | ( | void | ) | [inline, protected] |
virtual void glw::Object::doDestroy | ( | void | ) | [protected, pure virtual] |
Implemented in glw::Program, glw::Framebuffer, glw::Buffer, glw::Texture2D, glw::TextureCube, glw::Renderbuffer, glw::Texture, and glw::Shader.
virtual bool glw::Object::doIsValid | ( | void | ) | const [protected, pure virtual] |
Implemented in glw::Program, glw::Framebuffer, glw::Buffer, glw::Texture2D, glw::TextureCube, glw::Renderbuffer, and glw::Shader.
bool glw::Object::isValid | ( | void | ) | const [inline] |
GLuint glw::Object::name | ( | void | ) | const [inline] |
virtual Type glw::Object::type | ( | void | ) | const [pure virtual] |
Implemented in glw::Program, glw::Framebuffer, glw::Buffer, glw::Renderbuffer, glw::Texture2D, glw::TextureCube, glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
friend class Context [friend] |
Context* glw::Object::m_context [protected] |
GLuint glw::Object::m_name [protected] |