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

Render buffer receiving depth and/or stencil component. More...

+ Inheritance diagram for Castor3D::DepthStencilRenderBuffer:
+ Collaboration diagram for Castor3D::DepthStencilRenderBuffer:

Public Member Functions

C3D_API DepthStencilRenderBuffer (Castor::ePIXEL_FORMAT p_format)
 Constructor. More...
 
virtual C3D_API ~DepthStencilRenderBuffer ()
 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 depth and/or stencil component.

Author
Sylvain DOREMUS
Version
0.7.0.0
Date
12/11/2012

Constructor & Destructor Documentation

◆ DepthStencilRenderBuffer()

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

Constructor.

Parameters
[in]p_formatThe buffer pixel format

◆ ~DepthStencilRenderBuffer()

virtual C3D_API Castor3D::DepthStencilRenderBuffer::~DepthStencilRenderBuffer ( )
virtual

Destructor.


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