Stellarium  0.90.0
List of all members | Public Attributes
S3DScene::Material::Traits Struct Reference

Public Attributes

bool hasDiffuseTexture
 
bool hasEmissiveTexture
 True when tex_Kd is a valid texture. More...
 
bool hasBumpTexture
 True when tex_Ke is a valid texture. More...
 
bool hasHeightTexture
 True when tex_bump is a valid texture. More...
 
bool hasSpecularity
 True when tex_height is a valid texture. More...
 
bool hasTransparency
 True when both Ks and Ns are non-zero. More...
 
bool hasTimeFade
 True when the material exhibits "true" transparency, that is when the tex_Kd has an alpha channel or the d value is smaller than 1. More...
 
bool isFullyTransparent
 True when the material has time-dependent display. More...
 
bool isFading
 True when the material is (currently) completely invisible. More...
 

Detailed Description

Definition at line 68 of file S3DScene.hpp.

Member Data Documentation

bool S3DScene::Material::Traits::hasBumpTexture

True when tex_Ke is a valid texture.

Definition at line 74 of file S3DScene.hpp.

bool S3DScene::Material::Traits::hasEmissiveTexture

True when tex_Kd is a valid texture.

Definition at line 73 of file S3DScene.hpp.

bool S3DScene::Material::Traits::hasHeightTexture

True when tex_bump is a valid texture.

Definition at line 75 of file S3DScene.hpp.

bool S3DScene::Material::Traits::hasSpecularity

True when tex_height is a valid texture.

Definition at line 76 of file S3DScene.hpp.

bool S3DScene::Material::Traits::hasTimeFade

True when the material exhibits "true" transparency, that is when the tex_Kd has an alpha channel or the d value is smaller than 1.

Definition at line 78 of file S3DScene.hpp.

bool S3DScene::Material::Traits::hasTransparency

True when both Ks and Ns are non-zero.

Definition at line 77 of file S3DScene.hpp.

bool S3DScene::Material::Traits::isFading

True when the material is (currently) completely invisible.

Definition at line 80 of file S3DScene.hpp.

bool S3DScene::Material::Traits::isFullyTransparent

True when the material has time-dependent display.

Definition at line 79 of file S3DScene.hpp.


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