C# 클래스 Sparrow.Textures.GLTexture

The GLTexture class is a concrete implementation of the abstract class Texture, containing a standard 2D OpenGL texture.
상속: Texture
파일 보기 프로젝트 열기: fmotagarcia/sparrow-sharp 1 사용 예제들

공개 메소드들

메소드 설명
GLTexture ( IntPtr imgData, TextureProperties properties ) : System

Initializes an uncompressed texture with with raw pixel data and a set of properties. Width and Height are expected pixel dimensions.

GLTexture ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : System

Initializes a texture with the given properties. Width and height are expected pixels.

비공개 메소드들

메소드 설명
Init ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : void

메소드 상세

GLTexture() 공개 메소드

Initializes an uncompressed texture with with raw pixel data and a set of properties. Width and Height are expected pixel dimensions.
public GLTexture ( IntPtr imgData, TextureProperties properties ) : System
imgData System.IntPtr
properties TextureProperties
리턴 System

GLTexture() 공개 메소드

Initializes a texture with the given properties. Width and height are expected pixels.
public GLTexture ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : System
name uint
width float
height float
hasMipMaps bool
scale float
premultipliedAlpha bool
리턴 System