Property | Type | Description |
---|
Method | Description | |
---|---|---|
DefineInput ( string name ) : void |
Informs the render plan that this component wants the specified resource as input.
|
|
DefineOutput ( |
||
DefineOutput ( string name, bool isLeftSet, RenderTarget2D>.Action |
Informs the renderer of a resource this component is generating.
|
|
DefineOutput ( string name, bool isLeftSet = true, RenderTarget2D>.Action |
Informs the renderer of a resource this component is generating.
|
|
ResourceContext ( |
public DefineInput ( string name ) : void | ||
name | string | The name of the resource. |
return | void |
public DefineOutput ( |
||
resourceInfo | ||
isLeftSet | bool | |
return | void |
public DefineOutput ( string name, bool isLeftSet, RenderTarget2D>.Action |
||
name | string | The name of the resource. |
isLeftSet | bool | |
finaliser | RenderTarget2D>.Action | A cleanup method, called when the resource is no longer needed. |
format | Myre.Graphics.RenderTargetInfo | The format of the render target. |
return | void |
public DefineOutput ( string name, bool isLeftSet = true, RenderTarget2D>.Action |
||
name | string | The name of the resource. |
isLeftSet | bool | |
finaliser | RenderTarget2D>.Action | A cleanup method, called when the resource is no longer needed. |
width | int | The width of the render target. |
height | int | The height of the render target. |
surfaceFormat | SurfaceFormat | The surface format of the render target. |
depthFormat | DepthFormat | The depth format of the render target. |
multiSampleCount | int | The multi sample count of the render target. |
mipMap | bool | The number of mip map levels of the render target. |
usage | RenderTargetUsage | The render target usage of the render target. |
return | void |
public ResourceContext ( |
||
availableResources | ||
setRenderTargets | ||
return | System |