Public Member Functions | Public Attributes

sp::video::STextureLayerModel Struct Reference

#include <spDeferredRenderer.hpp>

List of all members.

Public Member Functions

 STextureLayerModel ()
 ~STextureLayerModel ()
void clear ()

Public Attributes

u8 DiffuseMap
 Diffuse map layer. Commonly 0.
u8 SpecularMap
 Diffuse map layer. Commonly 1 or TEXTURE_IGNORE.
u8 LightMap
 Diffuse map layer. Commonly 1, 2 or TEXTURE_IGNORE.
u8 NormalMap
 Diffuse map layer. Commonly 1, 2, 3 or TEXTURE_IGNORE.
u8 HeightMap

Detailed Description

Texture layer model for deferred-renderer. Use this structure to determine how the texture layers are constructed. If a texture layer has the value of TEXTURE_IGNORE this layer is not used. By default every layer has the value of TEXTURE_IGNORE.


Constructor & Destructor Documentation

sp::video::STextureLayerModel::STextureLayerModel (  )  [inline]
sp::video::STextureLayerModel::~STextureLayerModel (  )  [inline]

Member Function Documentation

void sp::video::STextureLayerModel::clear (  )  [inline]

Member Data Documentation

Diffuse map layer. Commonly 0.

Diffuse map layer. Commonly 1, 2, 3, 4 or TEXTURE_IGNORE. If the height-map information is stored in the alpha-channel of the normal-maps, this layer has the same value as the "NormalMap" layer.

Diffuse map layer. Commonly 1, 2 or TEXTURE_IGNORE.

Diffuse map layer. Commonly 1, 2, 3 or TEXTURE_IGNORE.

Diffuse map layer. Commonly 1 or TEXTURE_IGNORE.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines