C# 클래스 Nez.Textures.RenderTarget

상속: IUpdatableManager
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
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