Castor3D
..
|
Render buffer receiving colour component. More...
Public Member Functions | |
C3D_API | ColourRenderBuffer (Castor::ePIXEL_FORMAT p_format) |
Constructor. More... | |
virtual C3D_API | ~ColourRenderBuffer () |
Destructor. More... | |
Public Member Functions inherited from Castor3D::RenderBuffer | |
C3D_API | RenderBuffer (eBUFFER_COMPONENT p_type, Castor::ePIXEL_FORMAT p_format) |
Constructor. More... | |
virtual C3D_API | ~RenderBuffer () |
Destructor. More... | |
virtual C3D_API bool | Create ()=0 |
Creation function. More... | |
virtual C3D_API void | Destroy ()=0 |
Destruction function. More... | |
virtual C3D_API bool | Initialise (Castor::Size const &p_size)=0 |
Initialisation function. More... | |
virtual C3D_API void | Cleanup ()=0 |
Cleanup function. More... | |
virtual C3D_API bool | Bind ()=0 |
Activation function, to tell the GPU it is active. More... | |
virtual C3D_API void | Unbind ()=0 |
Deactivation function, to tell the GPU it is inactive. More... | |
virtual C3D_API bool | Resize (Castor::Size const &p_size)=0 |
Resizing function. More... | |
Castor::ePIXEL_FORMAT | GetPixelFormat () const |
Retrieves the buffer pixel format. More... | |
Castor::Size const & | GetDimensions () const |
Retrieves the buffer dimensions. More... | |
uint32_t | GetWidth () const |
Retrieves the buffer width. More... | |
uint32_t | GetHeight () const |
Retrieves the buffer height. More... | |
eBUFFER_COMPONENT | GetComponent () const |
Retrieves the buffer component. More... | |
void | SetSamplesCount (int p_iSamples) |
Defines the buffer samples count. More... | |
int | GetSamplesCount () |
Retrieves the buffer samples count. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Castor3D::RenderBuffer | |
Castor::Size | m_size |
The buffer dimensions. More... | |
Render buffer receiving colour component.
C3D_API Castor3D::ColourRenderBuffer::ColourRenderBuffer | ( | Castor::ePIXEL_FORMAT | p_format | ) |
Constructor.
[in] | p_format | The buffer pixel format |
|
virtual |
Destructor.