imaged.image

Members

Classes

Decoder
class Decoder
Undocumented in source.
Encoder
class Encoder
Undocumented in source.
Img
class Img(Px F)
Undocumented in source.

Enums

ImageFormat
enum ImageFormat
Undocumented in source.
Px
enum Px
Undocumented in source.

Functions

getDecoder
Decoder getDecoder(string filename, bool logging)
Undocumented in source. Be warned that the author may not have intended to support it.
getEncoder
Encoder getEncoder(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
load
Image load(string filename, IMGError err, bool logging)
Undocumented in source. Be warned that the author may not have intended to support it.
loadTexture
GLuint loadTexture(string filename, GLuint internalFormat, bool logging, IMGError err)

Set internal format to force a specific format, else the format will be chosen based on the image type.

makeGLTexture
GLuint makeGLTexture(string filename, GLuint internalFormat, bool logging, IMGError err)

The functions below allow you to create an OpenGL texture from an Image, and then throw away the image. These functions assume that you have already called DerelictGL.load().

Interfaces

Image
interface Image
Undocumented in source.

Structs

IMGError
struct IMGError
Undocumented in source.
Pixel
struct Pixel
Undocumented in source.

Meta

Date

Date: June 8, 2012

Authors

Callum Anderson