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

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# MQuadRender Class Reference

# OpenMayaRender - API module for rendering

This reference page is linked to from the following overview topics: Rendering Overrides.

Search for all occurrences

## Detailed Description

Class which defines a 2d geometry quad render.

`#include <MViewport2Renderer.h>`

Inheritance diagram for MQuadRender:
[legend]

List of all members.

## Public Member Functions
| MQuadRender (const MString &name)
| Constructor for a named quad render.
virtual | ~MQuadRender ()
| Default destructor for a quad render.
virtual const MShaderInstance * | shader ()
| Shader to use when rendering a quad.
virtual MClearOperation & | clearOperation ()
| Get the scene clear operation.

## Constructor & Destructor Documentation

MQuadRender | ( | const MString & | name | ) |

Constructor for a named quad render.

Parameters:

  [in] | name | Name of renderer.

## Member Function Documentation

const MShaderInstance * shader | ( |  | ) | `[virtual]`

Search for all occurrences

Shader to use when rendering a quad.

Returns:
  Pointer to a MShaderInstance

MClearOperation & clearOperation | ( |  | ) | `[virtual]`

Search for all occurrences

Get the scene clear operation.

Returns:
  The clear operation

MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender
MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender MQuadRender