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...
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:
TexturedMaterial.h
TexturedMaterial.cpp
Generated on Thu Apr 27 17:17:42 2006 for Path Map Module by
1.4.6-NO