globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.
globjects::IDResource Class Reference

#include <globjects/include/globjects/Resource.h>

Inheritance diagram for globjects::IDResource:
globjects::AbstractResource globjects::IDTrait globjects::BufferResource globjects::ExternalResource globjects::FrameBufferObjectResource globjects::InvalidResource globjects::ProgramPipelineResource globjects::ProgramResource globjects::QueryResource globjects::RenderBufferObjectResource globjects::SamplerResource globjects::ShaderResource globjects::TextureResource globjects::TransformFeedbackResource globjects::VertexArrayObjectResource

Public Member Functions

 IDResource (gl::GLuint id)
 
- Public Member Functions inherited from globjects::AbstractResource
 AbstractResource (bool hasOwnership)
 
virtual ~AbstractResource ()
 
bool hasOwnership () const
 
- Public Member Functions inherited from globjects::IDTrait
 IDTrait (gl::GLuint id)
 
virtual ~IDTrait ()
 
gl::GLuint id () const
 

Protected Member Functions

 IDResource (gl::GLuint id, bool hasOwnership)
 

Additional Inherited Members

- Protected Attributes inherited from globjects::AbstractResource
bool m_hasOwnership
 
- Protected Attributes inherited from globjects::IDTrait
gl::GLuint m_id
 

Constructor & Destructor Documentation

globjects::IDResource::IDResource ( gl::GLuint  id)
globjects::IDResource::IDResource ( gl::GLuint  id,
bool  hasOwnership 
)
protected

The documentation for this class was generated from the following file: