![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
RenderBuffer can be used with RenderTarget as buffer for writing or with TextureSampler as buffer for reading. More...
#include <RenderBuffer.h>
Public Member Functions | |
uint32_t | getWidth () const |
Returns the width of the RenderBuffer in pixels. More... | |
uint32_t | getHeight () const |
Returns the height of the RenderBuffer in pixels. More... | |
ERenderBufferType | getBufferType () const |
Returns the type of the RenderBuffer. More... | |
ERenderBufferFormat | getBufferFormat () const |
Returns the data format of the RenderBuffer. More... | |
ERenderBufferAccessMode | getAccessMode () const |
Returns the read/write access mode of the RenderBuffer. More... | |
uint32_t | getSampleCount () const |
Returns the sample count used for MSAA. More... | |
![]() | |
sceneObjectId_t | getSceneObjectId () const |
Returns scene object id which is automatically assigned at creation time of object and is unique within scope of one scene. More... | |
sceneId_t | getSceneId () const |
Returns sceneid to which this object belongs to. More... | |
![]() | |
const char * | getName () const |
Returns the name of the object. More... | |
status_t | setName (const char *name) |
Changes the name of the object. More... | |
ERamsesObjectType | getType () const |
Gets type of the object. More... | |
bool | isOfType (ERamsesObjectType type) const |
Checks if the object is of given type. More... | |
![]() | |
status_t | validate () const |
Generates verbose validation of the object. More... | |
const char * | getValidationReport (EValidationSeverity minSeverity=EValidationSeverity_Info) const |
Provides verbose report in human readable form generated by validate. More... | |
const char * | getStatusMessage (status_t status) const |
Get the string description for a status provided by a RAMSES API function. More... | |
StatusObject (const StatusObject &other)=delete | |
Deleted copy constructor. More... | |
StatusObject & | operator= (const StatusObject &other)=delete |
Deleted copy assignment. More... | |
Public Attributes | |
class RenderBufferImpl & | impl |
![]() | |
class SceneObjectImpl & | impl |
![]() | |
class ClientObjectImpl & | impl |
![]() | |
class RamsesObjectImpl & | impl |
![]() | |
class StatusObjectImpl & | impl |
Protected Member Functions | |
RenderBuffer (RenderBufferImpl &pimpl) | |
Constructor for RenderBuffer. More... | |
virtual | ~RenderBuffer () |
Destructor of the RenderBuffer. More... | |
![]() | |
SceneObject (SceneObjectImpl &pimpl) | |
Constructor for SceneObject. More... | |
virtual | ~SceneObject () |
Destructor of the SceneObject. More... | |
![]() | |
ClientObject (ClientObjectImpl &pimpl) | |
Constructor for ClientObject. More... | |
virtual | ~ClientObject () |
Destructor of the ClientObject. More... | |
![]() | |
RamsesObject (RamsesObjectImpl &pimpl) | |
Constructor for RamsesObject. More... | |
virtual | ~RamsesObject () |
Destructor of the RamsesObject. More... | |
![]() | |
StatusObject (StatusObjectImpl &pimpl) | |
Constructor for StatusObject. More... | |
virtual | ~StatusObject () |
Destructor of the StatusObject. More... | |
Friends | |
class | SceneImpl |
Scene is the factory for creating RenderBuffer instances. More... | |
RenderBuffer can be used with RenderTarget as buffer for writing or with TextureSampler as buffer for reading.
A RenderBuffer can be used by one or more RenderTargets for rendering content into it. There are two basic types of RenderBuffers - color and depth, depth buffer can have additionally stencil data. A RenderBuffer can be used by one or more TextureSamplers for sampling data from it in a shader.
|
explicitprotected |
Constructor for RenderBuffer.
[in] | pimpl | Internal data for implementation specifics of RenderBuffer (sink - instance becomes owner) |
|
protectedvirtual |
Destructor of the RenderBuffer.
ERenderBufferAccessMode ramses::RenderBuffer::getAccessMode | ( | ) | const |
Returns the read/write access mode of the RenderBuffer.
ERenderBufferFormat ramses::RenderBuffer::getBufferFormat | ( | ) | const |
Returns the data format of the RenderBuffer.
ERenderBufferType ramses::RenderBuffer::getBufferType | ( | ) | const |
Returns the type of the RenderBuffer.
uint32_t ramses::RenderBuffer::getHeight | ( | ) | const |
Returns the height of the RenderBuffer in pixels.
uint32_t ramses::RenderBuffer::getSampleCount | ( | ) | const |
Returns the sample count used for MSAA.
uint32_t ramses::RenderBuffer::getWidth | ( | ) | const |
Returns the width of the RenderBuffer in pixels.
|
friend |
Scene is the factory for creating RenderBuffer instances.
class RenderBufferImpl& ramses::RenderBuffer::impl |
Stores internal data for implementation specifics of RenderBuffer.