CL_RenderBuffer Class Reference
[clanDisplay Display]

Render-buffer object class. More...

#include <render_buffer.h>

List of all members.

Public Member Functions

Construction

 CL_RenderBuffer ()
 Constructs a null instance.
 CL_RenderBuffer (CL_GraphicContext &context, int width, int height, CL_TextureFormat internal_format=cl_rgba, int multisample_samples=0)
 Constructs a RenderBuffer.
Attributes

bool is_null () const
 Returns true if this object is invalid.
void throw_if_null () const
 Throw an exception if this object is invalid.
const CL_Sizeget_size () const
 Returns the render buffer size.
CL_RenderBufferProviderget_provider () const
 Get Provider.
Operations

bool operator== (const CL_RenderBuffer &other) const
 Equality operator.

Detailed Description

Render-buffer object class.


Constructor & Destructor Documentation

CL_RenderBuffer::CL_RenderBuffer (  ) 

Constructs a null instance.

CL_RenderBuffer::CL_RenderBuffer ( CL_GraphicContext context,
int  width,
int  height,
CL_TextureFormat  internal_format = cl_rgba,
int  multisample_samples = 0 
)

Constructs a RenderBuffer.

Parameters:
context = Graphic Context
width = value
height = value
internal_format = Texture Format

Member Function Documentation

CL_RenderBufferProvider* CL_RenderBuffer::get_provider (  )  const

Get Provider.

Returns:
provider
const CL_Size& CL_RenderBuffer::get_size (  )  const

Returns the render buffer size.

bool CL_RenderBuffer::is_null (  )  const [inline]

Returns true if this object is invalid.

bool CL_RenderBuffer::operator== ( const CL_RenderBuffer other  )  const

Equality operator.

void CL_RenderBuffer::throw_if_null (  )  const

Throw an exception if this object is invalid.


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