inochi2d.core.texture

Undocumented in source.

Members

Classes

Texture
class Texture

A texture, only format supported is unsigned 8 bit RGBA

Enums

Filtering
enum Filtering

Filtering mode for texture

Wrapping
enum Wrapping

Texture wrapping modes

Functions

inAddTextureBinary
void inAddTextureBinary(ShallowTexture data)

Adds binary texture

inBeginTextureLoading
void inBeginTextureLoading()

Begins a texture loading pass

inEndTextureLoading
void inEndTextureLoading()

Ends a texture loading pass

inGetLatestTexture
Texture inGetLatestTexture()

Gets the latest texture from the internal texture list

inGetTextureFromId
Texture inGetTextureFromId(uint id)

Returns a texture from the internal texture list

inTexPremultiply
void inTexPremultiply(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
inTexUnPremuliply
void inTexUnPremuliply(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ShallowTexture
struct ShallowTexture

A texture which is not bound to an OpenGL context Used for texture atlassing

Meta