Метод | Описание | |
---|---|---|
RenderTarget ( ) : Microsoft.Xna.Framework.Graphics | ||
create ( ) : |
helper for creating a full screen RenderTarget2D
|
|
create ( DepthFormat preferredDepthFormat ) : |
helper for creating a full screen RenderTarget2D with a specific DepthFormat
|
|
create ( int width, int height ) : |
helper for creating a RenderTarget2D
|
|
create ( int width, int height, DepthFormat preferredDepthFormat ) : |
helper for creating a RenderTarget2D
|
|
create ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : |
helper for creating a RenderTarget2D
|
|
getTemporary ( int width, int height ) : |
gets a temporary RenderTarget2D from the pool. When done using it call releaseTemporary to put it back in the pool. Note that the contents of the RenderTarget2D could be anything at all so clear it if you need to before using it.
|
|
getTemporary ( int width, int height, DepthFormat depthFormat ) : |
gets a temporary RenderTarget2D from the pool. When done using it call releaseTemporary to put it back in the pool. Note that the contents of the RenderTarget2D could be anything at all so clear it if you need to before using it.
|
|
releaseTemporary ( |
puts a temporary RenderTarget2D back in the pool. Do not attempt to put RenderTarget2Ds in the pool that were not acquired via getTemporary.
|
Метод | Описание | |
---|---|---|
IUpdatableManager ( ) : void |
public RenderTarget ( ) : Microsoft.Xna.Framework.Graphics | ||
Результат | Microsoft.Xna.Framework.Graphics |
public static create ( ) : |
||
Результат |
public static create ( DepthFormat preferredDepthFormat ) : |
||
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат |
public static create ( int width, int height ) : |
||
width | int | Width. |
height | int | Height. |
Результат |
public static create ( int width, int height, DepthFormat preferredDepthFormat ) : |
||
width | int | Width. |
height | int | Height. |
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат |
public static create ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : |
||
width | int | Width. |
height | int | Height. |
preferredFormat | SurfaceFormat | Preferred format. |
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат |
public static getTemporary ( int width, int height ) : |
||
width | int | Width. |
height | int | Height. |
Результат |
public static getTemporary ( int width, int height, DepthFormat depthFormat ) : |
||
width | int | Width. |
height | int | Height. |
depthFormat | DepthFormat | Depth format. |
Результат |
public static releaseTemporary ( |
||
renderTarget | Render target. | |
Результат | void |