- Main Page
- Related Pages
- Modules
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# MRenderTargetManager Class Reference

# OpenMayaRender - API module for rendering

This reference page is linked to from the following overview topics: Framework Classes.

Search for all occurrences

## Detailed Description

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

List of all members.

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

## Member Function Documentation

MRenderTarget * acquireRenderTarget | ( | const MRenderTargetDescription & | targetDescription | ) | const

Search for all occurrences

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.

Parameters:

  [in] | targetDescription | Description of the target

Returns:
  A pointer to an instance of the requested shader, or NULL on failure

const char * className | ( |  | ) | `[static]`

Search for all occurrences

Returns the name of this class.

Returns:
  Name of this class.

MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager
MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager MRenderTargetManager