C# 클래스 Axiom.RenderSystems.OpenGL.GLRTTManager

Abstract Factory for RenderTextures.
상속: IDisposable
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( RenderTarget target ) : void

Bind a certain render target.

CheckFormat ( PixelFormat format ) : bool

Check if a certain format is usable as rendertexture format

CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget

Create a multi render target

CreateRenderTexture ( string name, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target, bool writeGamma, int fsaa ) : RenderTexture

Create a texture rendertarget object

Dispose ( ) : void
GetSupportedAlternative ( PixelFormat format ) : PixelFormat

Get the closest supported alternative format. If format is supported, returns format.

Unbind ( RenderTarget target ) : void

Unbind a certain render target. This is called before binding another RenderTarget, and before the context is switched. It can be used to do a copy, or just be a noop if direct binding is used.

보호된 메소드들

메소드 설명
GLRTTManager ( Axiom.RenderSystems.OpenGL.BaseGLSupport glSupport ) : System

Internal constructor. This class cannot be instantiated externally.

Protected internal because this singleton will actually hold the instance of a subclass created by a render system plugin.

dispose ( bool disposeManagedResources ) : void

Class level dispose method

When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }

메소드 상세

Bind() 공개 추상적인 메소드

Bind a certain render target.
public abstract Bind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
리턴 void

CheckFormat() 공개 추상적인 메소드

Check if a certain format is usable as rendertexture format
public abstract CheckFormat ( PixelFormat format ) : bool
format PixelFormat
리턴 bool

CreateMultiRenderTarget() 공개 메소드

Create a multi render target
public CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget
name string
리턴 Axiom.Graphics.MultiRenderTarget

CreateRenderTexture() 공개 추상적인 메소드

Create a texture rendertarget object
public abstract CreateRenderTexture ( string name, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target, bool writeGamma, int fsaa ) : RenderTexture
name string
target Axiom.RenderSystems.OpenGL.GLSurfaceDesc
writeGamma bool
fsaa int
리턴 Axiom.Graphics.RenderTexture

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GLRTTManager() 보호된 메소드

Internal constructor. This class cannot be instantiated externally.
Protected internal because this singleton will actually hold the instance of a subclass created by a render system plugin.
protected GLRTTManager ( Axiom.RenderSystems.OpenGL.BaseGLSupport glSupport ) : System
glSupport Axiom.RenderSystems.OpenGL.BaseGLSupport
리턴 System

GetSupportedAlternative() 공개 메소드

Get the closest supported alternative format. If format is supported, returns format.
public GetSupportedAlternative ( PixelFormat format ) : PixelFormat
format PixelFormat
리턴 PixelFormat

Unbind() 공개 추상적인 메소드

Unbind a certain render target. This is called before binding another RenderTarget, and before the context is switched. It can be used to do a copy, or just be a noop if direct binding is used.
public abstract Unbind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
리턴 void

dispose() 보호된 메소드

Class level dispose method
When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
리턴 void