Texture Class Summary Class texture provides a method for reading an image and storing it in a new 2D texture object. State char *filename path to the image file uint ID texture object ID number texture() Set default values. void dump(char *append="") Dump texture state, followed by the append string. uint read_2D(char *filename) Read an image file into a new texture object. Return ID upon success, zero upon failure.