C4 Engine
C4 Engine API Documentation

class EmissionTextureAttribute

Defined in:  C4Attributes.h
The EmissionTextureAttribute class represents the material attribute for an emission texture map.
Definition

class EmissionTextureAttribute final : public TextureAttribute

Constructor

explicit EmissionTextureAttribute(const char *name);

explicit EmissionTextureAttribute(Texture *texture);

EmissionTextureAttribute(const TextureHeader *header, const void *image = nullptr);

Parameters
name The name of the texture map to load.
texture The texture object to use.
header A texture header from which to construct a new texture object.
image A pointer to a texture image that is used if the texture header does not specify an offset to an image.
Description
The EmissionTextureAttribute class represents the material attribute for an emission texture map. The emission texture map is applied only during the ambient rendering pass.

See the TextureAttribute class for a description of the differences among the various constructors.
Base Classes
TextureAttribute All attributes using a texture map are subclasses of TextureAttribute.