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

OpenGL specialization of texture handling.
Наследование: Axiom.Core.Texture
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
Unload ( ) : void

Deletes the texture memory.

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

Метод Описание
GenerateMipMaps ( byte data, bool useSoftware, bool isCompressed, int faceNum ) : void
createInternalResources ( ) : void
dispose ( bool disposeManagedResources ) : void

Implementation of IDisposable to determine how resources are disposed of.

freeInternalResources ( ) : void
load ( ) : void

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

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

Used to generate a texture capable of serving as a rendering target.

GLTexture ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, Axiom.RenderSystems.OpenGL.BaseGLSupport glSupport ) : System

Constructor used when creating a manual texture.

MostSignificantBitSet ( int val ) : int

Helper method for getting the next highest power of 2 value from the specified value.

Example: Input: 3 Result: 4, Input: 96 Output: 128

RescaleNPower2 ( Image src ) : byte[]
_createSurfaceList ( ) : void

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

GenerateMipMaps() защищенный метод

protected GenerateMipMaps ( byte data, bool useSoftware, bool isCompressed, int faceNum ) : void
data byte
useSoftware bool
isCompressed bool
faceNum int
Результат void

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

public GetBuffer ( int face, int mipmap ) : Axiom.Graphics.HardwarePixelBuffer
face int
mipmap int
Результат Axiom.Graphics.HardwarePixelBuffer

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

Deletes the texture memory.
public Unload ( ) : void
Результат void

createInternalResources() защищенный метод

protected createInternalResources ( ) : void
Результат void

dispose() защищенный метод

Implementation of IDisposable to determine how resources are disposed of.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Результат void

freeInternalResources() защищенный метод

protected freeInternalResources ( ) : void
Результат void

load() защищенный метод

protected load ( ) : void
Результат void