C# Класс Nez.Textures.RenderTarget

Наследование: IUpdatableManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RenderTarget ( ) : Microsoft.Xna.Framework.Graphics
create ( ) : RenderTarget2D

helper for creating a full screen RenderTarget2D

create ( DepthFormat preferredDepthFormat ) : RenderTarget2D

helper for creating a full screen RenderTarget2D with a specific DepthFormat

create ( int width, int height ) : RenderTarget2D

helper for creating a RenderTarget2D

create ( int width, int height, DepthFormat preferredDepthFormat ) : RenderTarget2D

helper for creating a RenderTarget2D

create ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : RenderTarget2D

helper for creating a RenderTarget2D

getTemporary ( int width, int height ) : RenderTarget2D

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 ) : RenderTarget2D

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 ( RenderTarget2D renderTarget ) : void

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

Описание методов

RenderTarget() публичный Метод

public RenderTarget ( ) : Microsoft.Xna.Framework.Graphics
Результат Microsoft.Xna.Framework.Graphics

create() публичный статический Метод

helper for creating a full screen RenderTarget2D
public static create ( ) : RenderTarget2D
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

create() публичный статический Метод

helper for creating a full screen RenderTarget2D with a specific DepthFormat
public static create ( DepthFormat preferredDepthFormat ) : RenderTarget2D
preferredDepthFormat DepthFormat Preferred depth format.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

create() публичный статический Метод

helper for creating a RenderTarget2D
public static create ( int width, int height ) : RenderTarget2D
width int Width.
height int Height.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

create() публичный статический Метод

helper for creating a RenderTarget2D
public static create ( int width, int height, DepthFormat preferredDepthFormat ) : RenderTarget2D
width int Width.
height int Height.
preferredDepthFormat DepthFormat Preferred depth format.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

create() публичный статический Метод

helper for creating a RenderTarget2D
public static create ( int width, int height, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat ) : RenderTarget2D
width int Width.
height int Height.
preferredFormat SurfaceFormat Preferred format.
preferredDepthFormat DepthFormat Preferred depth format.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

getTemporary() публичный статический Метод

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.
public static getTemporary ( int width, int height ) : RenderTarget2D
width int Width.
height int Height.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

getTemporary() публичный статический Метод

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.
public static getTemporary ( int width, int height, DepthFormat depthFormat ) : RenderTarget2D
width int Width.
height int Height.
depthFormat DepthFormat Depth format.
Результат Microsoft.Xna.Framework.Graphics.RenderTarget2D

releaseTemporary() публичный статический Метод

puts a temporary RenderTarget2D back in the pool. Do not attempt to put RenderTarget2Ds in the pool that were not acquired via getTemporary.
public static releaseTemporary ( RenderTarget2D renderTarget ) : void
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D Render target.
Результат void