This reference page is linked to from the following overview topics: Autodesk Maya 2014, Rendering Overrides, 3.8 Render Loop Overrides.
Class which defines a 2d geometry quad render.
#include <MViewport2Renderer.h>

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. | |
| virtual const MDepthStencilState * | depthStencilStateOverride () |
| Writing to the depth buffer is disabled by default for a quad operation. | |
| virtual const MRasterizerState * | rasterizerStateOverride () |
| No backface culling is performed by default for a quad operation. | |
| virtual const MBlendState * | blendStateOverride () |
| Blending is disabled by default for a quad operation. | |
| MQuadRender | ( | const MString & | name | ) |
Constructor for a named quad render.
| [in] | name | Name of renderer. |
| const MShaderInstance * shader | ( | ) | [virtual] |
Shader to use when rendering a quad.
| MClearOperation & clearOperation | ( | ) | [virtual] |
| const MDepthStencilState * depthStencilStateOverride | ( | ) | [virtual] |
Writing to the depth buffer is disabled by default for a quad operation.
If a non-NULL depth-stencil state is returned from this method then that state will override the default behaviour.
The default implementation returns a NULL value.
| const MRasterizerState * rasterizerStateOverride | ( | ) | [virtual] |
No backface culling is performed by default for a quad operation.
If a non-NULL rasterizer state is returned from this method then that state will override the default behaviour.
The default implementation returns a NULL value.
| const MBlendState * blendStateOverride | ( | ) | [virtual] |
Blending is disabled by default for a quad operation.
If a non-NULL blend state is returned from this method then that state will override the default behaviour.
The default implementation returns a NULL value.