public DefineOutput ( string name, bool isLeftSet = true, RenderTarget2D>.Action finaliser = null, int width, int height, SurfaceFormat surfaceFormat = SurfaceFormat.Color, DepthFormat depthFormat = DepthFormat.None, int multiSampleCount, bool mipMap = false, RenderTargetUsage usage = RenderTargetUsage.DiscardContents ) : void |
name |
string |
The name of the resource. |
isLeftSet |
bool |
true if this component will leave the render target set on the device; else false. |
finaliser |
RenderTarget2D>.Action
| A cleanup method, called when the resource is no longer needed. null for the default finaliser. |
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. |
리턴 |
void |
|