OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Nif::NiTextureEffect Struct Reference

#include <effect.hpp>

Inheritance diagram for Nif::NiTextureEffect:
Collaboration diagram for Nif::NiTextureEffect:

Public Types

enum  TextureType { Projected_Light = 0, Projected_Shadow = 1, Environment_Map = 2, Fog_Map = 3 }
 
enum  CoordGenType {
  World_Parallel = 0, World_Perspective, Sphere_Map, Specular_Cube_Map,
  Diffuse_Cube_Map
}
 

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
- Public Member Functions inherited from Nif::Node
void read (NIFStream *nif)
 Parses the record from file. More...
 
void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
void makeRootBone (const Transformation *tr)
 
void makeBone (short ind, const NiSkinData::BoneInfo &bi)
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual ~Record ()
 

Public Attributes

NiSourceTexturePtr texture
 
unsigned int clamp
 
TextureType textureType
 
CoordGenType coordGenType
 
- Public Attributes inherited from Nif::Node
int flags
 
Transformation trafo
 
osg::Vec3f velocity
 
PropertyList props
 
bool hasBounds
 
osg::Vec3f boundPos
 
Matrix3 boundRot
 
osg::Vec3f boundXYZ
 
NiNodeparent
 
const TransformationboneTrafo
 
const NiSkinData::BoneInfoboneInfo
 
short boneIndex
 
- Public Attributes inherited from Nif::Named
std::string name
 
- Public Attributes inherited from Nif::Controlled
ControllerPtr controller
 
- Public Attributes inherited from Nif::Extra
ExtraPtr extra
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Member Enumeration Documentation

Enumerator
World_Parallel 
World_Perspective 
Sphere_Map 
Specular_Cube_Map 
Diffuse_Cube_Map 
Enumerator
Projected_Light 
Projected_Shadow 
Environment_Map 
Fog_Map 

Member Function Documentation

void Nif::NiTextureEffect::post ( NIFFile nif)
virtual

Does post-processing, after the entire tree is loaded.

Reimplemented from Nif::Controlled.

Here is the call graph for this function:

void Nif::NiTextureEffect::read ( NIFStream nif)
virtual

Parses the record from file.

Reimplemented from Nif::NiDynamicEffect.

Here is the call graph for this function:

Member Data Documentation

unsigned int Nif::NiTextureEffect::clamp
CoordGenType Nif::NiTextureEffect::coordGenType
NiSourceTexturePtr Nif::NiTextureEffect::texture
TextureType Nif::NiTextureEffect::textureType

The documentation for this struct was generated from the following files: