![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
RenderTargetDescription holds all necessary information for a RenderTarget to be created. More...
#include <RenderTargetDescription.h>
Public Member Functions | |
RenderTargetDescription () | |
Constructor of RenderTargetDescription. More... | |
status_t | addRenderBuffer (const RenderBuffer &renderBuffer) |
Adds a RenderBuffer to the RenderTargetDescription. 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 RenderTargetDescriptionImpl & | impl |
Stores internal data for implementation specifics of RenderTargetDescription. More... | |
![]() | |
class StatusObjectImpl & | impl |
Additional Inherited Members | |
![]() | |
StatusObject (StatusObjectImpl &pimpl) | |
Constructor for StatusObject. More... | |
virtual | ~StatusObject () |
Destructor of the StatusObject. More... | |
RenderTargetDescription holds all necessary information for a RenderTarget to be created.
ramses::RenderTargetDescription::RenderTargetDescription | ( | ) |
Constructor of RenderTargetDescription.
status_t ramses::RenderTargetDescription::addRenderBuffer | ( | const RenderBuffer & | renderBuffer | ) |
Adds a RenderBuffer to the RenderTargetDescription.
Multiple color RenderBuffers and at most one depth/stencil RenderBuffer can be added. The layout of multiple color RenderBuffers corresponds to the order of adding them (first RenderBuffer added has location 0, second added has location 1, etc.). Depth/stencil RenderBuffer is a special case and its relative order to the color buffer(s) irrelevant. All added render buffers must have same MSAA sample count. Trying to add render buffers with different sample count values will fail and generate error.
[in] | renderBuffer | RenderBuffer to be added to the RenderTargetDescription. |
class RenderTargetDescriptionImpl& ramses::RenderTargetDescription::impl |
Stores internal data for implementation specifics of RenderTargetDescription.