Render-buffer object class. More...
#include <render_buffer.h>
| Public Member Functions | |
| RenderBuffer () | |
| Constructs a null instance. | |
| RenderBuffer (GraphicContext &context, int width, int height, TextureFormat texture_format=TextureFormat::rgba8, int multisample_samples=0) | |
| Constructs a RenderBuffer. | |
| RenderBufferProvider * | get_provider () const | 
| Get Provider. | |
| const Size & | get_size () const | 
| Returns the render buffer size. | |
| bool | is_null () const | 
| Returns true if this object is invalid. | |
| operator bool () const | |
| bool | operator== (const RenderBuffer &other) const | 
| Equality operator. | |
| void | throw_if_null () const | 
| Throw an exception if this object is invalid. | |
Render-buffer object class.
| clan::RenderBuffer::RenderBuffer | ( | ) | 
Constructs a null instance.
| clan::RenderBuffer::RenderBuffer | ( | GraphicContext & | context, | 
| int | width, | ||
| int | height, | ||
| TextureFormat | texture_format = TextureFormat::rgba8, | ||
| int | multisample_samples = 0 ) | 
Constructs a RenderBuffer.
| context | = Graphic Context | 
| width | = value | 
| height | = value | 
| internal_format | = Texture Format | 
| RenderBufferProvider * clan::RenderBuffer::get_provider | ( | ) | const | 
Get Provider.
| const Size & clan::RenderBuffer::get_size | ( | ) | const | 
Returns the render buffer size.
| 
 | inline | 
Returns true if this object is invalid.
| 
 | inlineexplicit | 
| bool clan::RenderBuffer::operator== | ( | const RenderBuffer & | other | ) | const | 
Equality operator.
| void clan::RenderBuffer::throw_if_null | ( | ) | const | 
Throw an exception if this object is invalid.