C# Класс Axiom.RenderSystems.OpenGL.GLFrameBufferObject

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

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

Метод Описание
Bind ( ) : void

Bind FrameBufferObject

BindSurface ( int attachment, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target ) : void

Bind a surface to a certain attachment point.

Dispose ( ) : void
GLFrameBufferObject ( GLFBORTTManager manager ) : System
UnbindSurface ( int attachment ) : void

Unbind attachment

Защищенные методы

Метод Описание
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 ); }

Приватные методы

Метод Описание
_initialize ( ) : void

Initialize object (find suitable depth and stencil format).

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

Bind() публичный метод

Bind FrameBufferObject
public Bind ( ) : void
Результат void

BindSurface() публичный метод

Bind a surface to a certain attachment point.
public BindSurface ( int attachment, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target ) : void
attachment int 0..Config.MaxMultipleRenderTargets-1
target Axiom.RenderSystems.OpenGL.GLSurfaceDesc
Результат void

Dispose() публичный метод

public Dispose ( ) : void
Результат void

GLFrameBufferObject() публичный метод

public GLFrameBufferObject ( GLFBORTTManager manager ) : System
manager GLFBORTTManager
Результат System

UnbindSurface() публичный метод

Unbind attachment
public UnbindSurface ( int attachment ) : void
attachment int
Результат 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