PrOGL
processing open-gl interface
Loading...
Searching...
No Matches
Texture Class Reference

the Texture class serves a wrapper for a PImage and image path. More...

Public Member Functions

 Texture (String name)
 Texture constructor.
 

Package Attributes

PImage img
 image once loaded into memory
 
String name
 relative path to image file
 

Detailed Description

the Texture class serves a wrapper for a PImage and image path.

Definition at line 9 of file Texture.pde.

Constructor & Destructor Documentation

◆ Texture()

Texture.Texture ( String  name)

Texture constructor.

loads an image from the supplied path.

Definition at line 17 of file Texture.pde.

References name.

Member Data Documentation

◆ img

PImage Texture.img
package

image once loaded into memory

Definition at line 10 of file Texture.pde.

◆ name

String Texture.name
package

relative path to image file

Definition at line 11 of file Texture.pde.


The documentation for this class was generated from the following file: