![]() |
• Graphics Manager | ||||||||||||||||||
|
API Links
Developer Links
|
class MapAttributeDefined in:
The C4Attributes.hMapAttribute class is the base class for attributes that use a texture map.
Definition
Member Functions
Constructor
MapAttribute class can only exist as the base class for other material attribute classes that use texture maps.
Parameters
Description
The MapAttribute class encapsulates information about a texture map for other material attributes. If a MapAttribute object is constructed by passing the name parameter, then the texture map is loaded through the Resource Manager. If a MapAttribute object is constructed by passing the header and image parameters, then a new texture map is constructed using the information in the TextureHeader structure. If the image parameter is not nullptr, then the texture image is read from the location to which it points; otherwise, the texture header specifies the location of the image.
Base Classes
See Also
|