Propane::Material::GenericTexture Class Reference

A class to handle the application and removal of generic textures. More...

#include <GenericTexture.h>

Inheritance diagram for Propane::Material::GenericTexture:

Propane::Material::BaseMaterial List of all members.

Public Member Functions

virtual void apply ()
 Apply the texture using glBindTexture(GL_TEXTURE_2D, internalID). Enables GL_TEXTURE_2D if not already active.
virtual void unApply ()
 Remove the texture using glBindTexture(GL_TEXTURE_2D, 0).
virtual bool canUse ()
 Check if we can use this material on this computer.
virtual void useCoordinate (const Propane::Vector3 &f)
 Use the provided vector as a 2D texture coordinate (u,v).

Detailed Description

A class to handle the application and removal of generic textures.


The documentation for this class was generated from the following file:
Generated on Sun Jan 14 16:49:12 2007 for Propane Injector by  doxygen 1.4.6