C# 클래스 Sharpex2D.Rendering.Texture2D

상속: IContent
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
Lock ( ) : void

Locks the texture.

Texture2D ( int width, int height ) : System

Initializes a new Texture2D class.

Unlock ( ) : void

Unlocks the data.

this ( int x, int y ) : Color

Gets or sets the color of the specified texel.

The texture must be locked before accessing the color data.

비공개 메소드들

메소드 설명
Texture2D ( ITexture texture ) : System

Initializes a new Texture2D class.

메소드 상세

Lock() 공개 메소드

Locks the texture.
public Lock ( ) : void
리턴 void

Texture2D() 공개 메소드

Initializes a new Texture2D class.
public Texture2D ( int width, int height ) : System
width int The Width.
height int The Height.
리턴 System

Unlock() 공개 메소드

Unlocks the data.
public Unlock ( ) : void
리턴 void

this() 공개 메소드

Gets or sets the color of the specified texel.
The texture must be locked before accessing the color data.
public this ( int x, int y ) : Color
x int The x offset.
y int The y offset.
리턴 Color