TexturedMaterial Class Reference

A Material that can be assigned to an Intersectable (typically a TriangleMesh), and contains a texture. The texture must be square (equal height and width), 32bpp, BGRA. More...

Inherits Material.

List of all members.

Public Member Functions

 TexturedMaterial (void *pdata, int pitch, int textureSize)
 Constructor.


Detailed Description

A Material that can be assigned to an Intersectable (typically a TriangleMesh), and contains a texture. The texture must be square (equal height and width), 32bpp, BGRA.


Constructor & Destructor Documentation

TexturedMaterial::TexturedMaterial void *  pdata,
int  pitch,
int  textureSize
 

Constructor.

Parameters:
pdata pointer to the memory containing the image
pitch Number of bytes in a row. (Containg padding zeros, if any.)
textureSize Width and height in pixels. (Width and height must be equal.)


The documentation for this class was generated from the following files:
Generated on Thu Apr 27 17:17:42 2006 for Path Map Module by  doxygen 1.4.6-NO