|
ClanLib
2.3.7
|
Render-buffer object class. More...
#include <render_buffer.h>
Public Member Functions | |
Construction | |
| CL_RenderBuffer () | |
| Constructs a null instance. More... | |
| CL_RenderBuffer (CL_GraphicContext &context, int width, int height, CL_TextureFormat internal_format=cl_rgba, int multisample_samples=0) | |
| Constructs a RenderBuffer. More... | |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
| const CL_Size & | get_size () const |
| Returns the render buffer size. More... | |
| CL_RenderBufferProvider * | get_provider () const |
| Get Provider. More... | |
Operations | |
| bool | operator== (const CL_RenderBuffer &other) const |
| Equality operator. More... | |
Render-buffer object class.
| 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.
| context | = Graphic Context |
| width | = value |
| height | = value |
| internal_format | = Texture Format |
| CL_RenderBufferProvider* CL_RenderBuffer::get_provider | ( | ) | const |
Get Provider.
| const CL_Size& CL_RenderBuffer::get_size | ( | ) | const |
Returns the render buffer size.
|
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.
1.8.4