Texture

Undocumented in source.

Constructors

this
this(Owner owner)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

releaseGLTexture
deprecated alias releaseGLTexture = release
Undocumented in source.

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
channelSize
uint channelSize()
Undocumented in source. Be warned that the author may not have intended to support it.
createBlank
void createBlank(uint w, uint h, uint channels, uint bitDepth, bool genMipmaps, Color4f fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
createCubemap
void createCubemap(ubyte[] buffer)
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.
createFromBuffer
void createFromBuffer(TextureBuffer buff, bool genMipmaps)
Undocumented in source. Be warned that the author may not have intended to support it.
createFromEquirectangularMap
void createFromEquirectangularMap(SuperImage envmap, uint resolution, bool generateMipmaps)
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.
createFromImage3D
void createFromImage3D(SuperImage img, uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
createTexture1D
void createTexture1D(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
createTexture2D
void createTexture2D(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
createTexture3D
void createTexture3D(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
dimension
TextureDimension dimension()
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.
generateMipmap
void generateMipmap()
Undocumented in source. Be warned that the author may not have intended to support it.
hasAlpha
bool hasAlpha()
Undocumented in source. Be warned that the author may not have intended to support it.
height
uint height()
Undocumented in source. Be warned that the author may not have intended to support it.
isCompressed
bool isCompressed()
Undocumented in source. Be warned that the author may not have intended to support it.
isCubemap
bool isCubemap()
Undocumented in source. Be warned that the author may not have intended to support it.
numChannels
uint numChannels()
Undocumented in source. Be warned that the author may not have intended to support it.
pixelSize
uint pixelSize()
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.
setFaceBit
void setFaceBit(CubeFace face)
Undocumented in source. Be warned that the author may not have intended to support it.
setFaceImage
void setFaceImage(CubeFace face, SuperImage img)
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.
useMipmapFiltering
bool useMipmapFiltering()
Undocumented in source. Be warned that the author may not have intended to support it.
useMipmapFiltering
void useMipmapFiltering(bool mode)
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.
width
uint width()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

format
TextureFormat format;
Undocumented in source.
generateMipmaps
bool generateMipmaps;
Undocumented in source.
magFilter
GLint magFilter;
Undocumented in source.
minFilter
GLint minFilter;
Undocumented in source.
mipLevels
uint mipLevels;
Undocumented in source.
size
TextureSize size;
Undocumented in source.
texture
GLuint texture;
Undocumented in source.
wrapR
GLint wrapR;
Undocumented in source.
wrapS
GLint wrapS;
Undocumented in source.
wrapT
GLint wrapT;
Undocumented in source.

Meta