Свойство | Тип | Описание | |
---|---|---|---|
renderTarget | |||
resizeBehavior | RenderTextureResizeBehavior |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
RenderTexture ( ) : System |
helper for creating a full screen RenderTarget2D
|
|
RenderTexture ( DepthFormat preferredDepthFormat ) : System |
helper for creating a full screen RenderTarget2D with a specific DepthFormat
|
|
RenderTexture ( int width, int height ) : System |
helper for creating a RenderTarget2D
|
|
RenderTexture ( int width, int height, DepthFormat preferredDepthFormat ) : System |
helper for creating a RenderTarget2D
|
|
RenderTexture ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : System |
helper for creating a RenderTarget2D
|
|
onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void |
called by Renderers automatically when appropriate. Lets the resizeBehavior kick in so auto resizing can occur
|
|
resize ( int width, int height ) : void |
resizes the RenderTarget2D to the specified size
|
|
resizeToFitBackbuffer ( ) : void |
resizes the RenderTarget2D to match the back buffer size
|
public RenderTexture ( DepthFormat preferredDepthFormat ) : System | ||
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат | System |
public RenderTexture ( int width, int height ) : System | ||
width | int | Width. |
height | int | Height. |
Результат | System |
public RenderTexture ( int width, int height, DepthFormat preferredDepthFormat ) : System | ||
width | int | Width. |
height | int | Height. |
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат | System |
public RenderTexture ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : System | ||
width | int | Width. |
height | int | Height. |
preferredFormat | SurfaceFormat | Preferred format. |
preferredDepthFormat | DepthFormat | Preferred depth format. |
Результат | System |
public onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void | ||
newWidth | int | New width. |
newHeight | int | New height. |
Результат | void |
public resize ( int width, int height ) : void | ||
width | int | Width. |
height | int | Height. |
Результат | void |
public RenderTarget2D,Microsoft.Xna.Framework.Graphics renderTarget | ||
Результат |