Provides access to MRenderTarget objects for use in Viewport 2.0.
This class generates MRenderTarget objects for use with MRenderOperation objects. Any MRenderTarget objects created by this class are owned by the caller.
#include <MRenderTargetManager.h>
Public Member Functions |
|
MRenderTarget * | acquireRenderTarget (const MRenderTargetDescription &targetDescription) const |
Acquire an instance of a render target.
|
|
Static Public Member Functions |
|
static const char * | className () |
Returns the name of this class. |
MRenderTarget * acquireRenderTarget | ( | const MRenderTargetDescription & | targetDescription | ) | const |
Acquire an instance of a render target.
Callers of this method assume lifetime management of the returned object.
If a target with the same identifier already exists then no new target will be created as render targets cannot be instanced. A NULL value will be returned.
[in] | targetDescription | Description of the target |
const char * className | ( | ) | [static] |