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

Concrete Factory for GL Frame Buffer Objects, and related things.
상속: GLRTTManager
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

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

Bind a certain render target if it is a FBO. If it is not a FBO, bind the main frame buffer.

CheckFormat ( PixelFormat format ) : bool

Check if a certain format is usable as FBO rendertarget format

CreateFrameBufferObject ( ) : GLFrameBufferObject

Create a framebuffer object

CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget
CreateRenderTexture ( string name, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target, bool writeGamma, int fsaa ) : RenderTexture
DestroyFrameBufferObject ( GLFrameBufferObject fbo ) : void

Destroy a framebuffer object

GetBestDepthStencil ( PixelFormat format, int &depthFormat, int &stencilFormat ) : void

Get best depth and stencil supported for given internalFormat

ReleaseRenderBuffer ( Axiom.RenderSystems.OpenGL.GLSurfaceDesc surface ) : void

Release a render buffer. Ignore silently if surface.buffer is null.

RequestRenderBuffer ( int format, int width, int height ) : Axiom.RenderSystems.OpenGL.GLSurfaceDesc

Request a render buffer. If format is Gl.GL_NONE, return a zero buffer.

RequestRenderBuffer ( Axiom.RenderSystems.OpenGL.GLSurfaceDesc surface ) : void

Request the specific render buffer in case shared somewhere. Ignore silently if surface.buffer is 0.

Unbind ( RenderTarget target ) : void

Unbind a certain render target. No-op for FBOs.

보호된 메소드들

메소드 설명
dispose ( bool disposeManagedResources ) : void

비공개 메소드들

메소드 설명
GLFBORTTManager ( Axiom.RenderSystems.OpenGL.BaseGLSupport glSupport, bool atiMode ) : System
_detectFBOFormats ( ) : void

Detect allowed FBO formats

_tryFormat ( int depthFormat, int stencilFormat ) : bool
_tryPackedFormat ( int packedFormat ) : bool

메소드 상세

Bind() 공개 메소드

Bind a certain render target if it is a FBO. If it is not a FBO, bind the main frame buffer.
public Bind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
리턴 void

CheckFormat() 공개 메소드

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

CreateFrameBufferObject() 공개 메소드

Create a framebuffer object
public CreateFrameBufferObject ( ) : GLFrameBufferObject
리턴 GLFrameBufferObject

CreateMultiRenderTarget() 공개 메소드

public CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget
name string
리턴 Axiom.Graphics.MultiRenderTarget

CreateRenderTexture() 공개 메소드

public 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

DestroyFrameBufferObject() 공개 메소드

Destroy a framebuffer object
public DestroyFrameBufferObject ( GLFrameBufferObject fbo ) : void
fbo GLFrameBufferObject
리턴 void

GetBestDepthStencil() 공개 메소드

Get best depth and stencil supported for given internalFormat
public GetBestDepthStencil ( PixelFormat format, int &depthFormat, int &stencilFormat ) : void
format PixelFormat
depthFormat int
stencilFormat int
리턴 void

ReleaseRenderBuffer() 공개 메소드

Release a render buffer. Ignore silently if surface.buffer is null.
public ReleaseRenderBuffer ( Axiom.RenderSystems.OpenGL.GLSurfaceDesc surface ) : void
surface Axiom.RenderSystems.OpenGL.GLSurfaceDesc
리턴 void

RequestRenderBuffer() 공개 메소드

Request a render buffer. If format is Gl.GL_NONE, return a zero buffer.
public RequestRenderBuffer ( int format, int width, int height ) : Axiom.RenderSystems.OpenGL.GLSurfaceDesc
format int
width int
height int
리턴 Axiom.RenderSystems.OpenGL.GLSurfaceDesc

RequestRenderBuffer() 공개 메소드

Request the specific render buffer in case shared somewhere. Ignore silently if surface.buffer is 0.
public RequestRenderBuffer ( Axiom.RenderSystems.OpenGL.GLSurfaceDesc surface ) : void
surface Axiom.RenderSystems.OpenGL.GLSurfaceDesc
리턴 void

Unbind() 공개 메소드

Unbind a certain render target. No-op for FBOs.
public Unbind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
리턴 void

dispose() 보호된 메소드

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
리턴 void