Texture

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.
this
this(SuperImage img, Owner o, bool genMipmaps)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
createFromImage
void createFromImage(SuperImage img, bool genMipmaps)
Undocumented in source. Be warned that the author may not have intended to support it.
release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
sample
Color4f sample(float u, float v)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.
valid
bool valid()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

format
GLenum format;
Undocumented in source.
height
int height;
Undocumented in source.
image
SuperImage image;
Undocumented in source.
intFormat
GLint intFormat;
Undocumented in source.
numMipmapLevels
int numMipmapLevels;
Undocumented in source.
rotation
float rotation;
Undocumented in source.
scale
Vector2f scale;
Undocumented in source.
tex
GLuint tex;
Undocumented in source.
translation
Vector2f translation;
Undocumented in source.
type
GLenum type;
Undocumented in source.
useLinearFiltering
bool useLinearFiltering;
Undocumented in source.
useMipmapFiltering
bool useMipmapFiltering;
Undocumented in source.
width
int width;
Undocumented in source.

Meta