mojo.graphics.Texture - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.Texture

Class Texture Extends std:std.resource.Resource

The Texture class.

The "MOJO_TEXTURE_MAX_ANISOTROPY" config setting control the max anisotropy of mipmapped textures.

Constructors
New Creates a new texture.
Properties
Flags
Format (read only)
Height (read only)
ManagedPixmap (read only)
Size (read only)
Width (read only)
Methods
GetCubeFace
PastePixmap
Functions
ColorTexture
FlatNormal
Load
LoadNormal