|
Python API 2.0 Reference
|
Inheritance diagram for OpenMayaRender.MRenderTargetManager:Public Member Functions | |
| def | __init__ () |
| def | acquireRenderTarget () |
| def | acquireRenderTargetFromScreen () |
| def | formatSupportsSRGBWrite () |
| def | releaseRenderTarget () |
Static Public Member Functions | |
| def | __new__ () |
Provides access to MRenderTarget objects for use in Viewport 2.0.
| def OpenMayaRender.MRenderTargetManager.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
| def OpenMayaRender.MRenderTargetManager.acquireRenderTarget | ( | ) |
acquireRenderTarget(MRenderTargetDescription) -> MRenderTarget Acquire an instance of a render target. When the object is no longer needed, releaseRenderTarget() should be called to notify the target manager that the caller is done with the render target.
| def OpenMayaRender.MRenderTargetManager.acquireRenderTargetFromScreen | ( | ) |
acquireRenderTargetFromScreen(string) -> MRenderTarget Acquire an instance of a render target with the same characteristics as the current on-screen target. When the object is no longer needed, releaseRenderTarget() should be called to notify the target manager that the caller is done with the render target.
| def OpenMayaRender.MRenderTargetManager.formatSupportsSRGBWrite | ( | ) |
formatSupportsSRGBWrite(int) -> bool This method will perform a check to determine whether gamma correction can be performed by the GPU when writing pixels to a render target of a given format.
| def OpenMayaRender.MRenderTargetManager.releaseRenderTarget | ( | ) |
releaseRenderTarget(MRenderTarget) -> self Deletes the MRenderTarget and releases the reference to the underlying target which is held by the MRenderTarget object.