Castor3D  ..
Public Member Functions | List of all members
Castor3D::ColourRenderBuffer Class Reference

Render buffer receiving colour component. More...

+ Inheritance diagram for Castor3D::ColourRenderBuffer:
+ Collaboration diagram for Castor3D::ColourRenderBuffer:

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...
 

Detailed Description

Render buffer receiving colour component.

Author
Sylvain DOREMUS
Version
0.7.0.0
Date
12/11/2012

Constructor & Destructor Documentation

◆ ColourRenderBuffer()

C3D_API Castor3D::ColourRenderBuffer::ColourRenderBuffer ( Castor::ePIXEL_FORMAT  p_format)

Constructor.

Parameters
[in]p_formatThe buffer pixel format

◆ ~ColourRenderBuffer()

virtual C3D_API Castor3D::ColourRenderBuffer::~ColourRenderBuffer ( )
virtual

Destructor.


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