Texture

Undocumented in source.

Constructors

this
this(Owner owner)
Undocumented in source.
this
this(SuperImage img, Owner owner, 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.
createCompressedTexture
void createCompressedTexture(ubyte* data, uint blockSize, uint numMipMaps)
Undocumented in source. Be warned that the author may not have intended to support it.
createFallbackTexture
void createFallbackTexture()
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.
createUncompressedTexture
void createUncompressedTexture(ubyte* data, bool genMipmaps)
Undocumented in source. Be warned that the author may not have intended to support it.
enableRepeat
void enableRepeat(bool mode)
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.
releaseGLTexture
void releaseGLTexture()
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.
mipmapGenerated
bool mipmapGenerated;
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