ShallowTexture

A texture which is not bound to an OpenGL context

Used for texture atlassing

Constructors

this
this(string file)

Loads a shallow texture from image file Supported file types: * PNG 8-bit * BMP 8-bit * TGA 8-bit non-palleted * JPEG baseline

Members

Variables

data
ubyte[] data;

8-bit RGBA color data

height
int height;

Height of texture

width
int width;

Width of texture

Meta