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

OpenGL specialization of texture handling.
상속: Axiom.Core.Texture
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

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