This class is seperated from the converter file because otherwise it would get too big and needlessly complicated.
More...
#include "daeMaterials.h"
List of all members.
Classes |
| struct | DaeBlendSettings |
| struct | DaeMaterial |
| struct | DaeVertexInputBinding |
Public Member Functions |
|
| DaeMaterials (const FCDGeometryInstance *geometry_instance) |
| void | add_material_instance (const FCDMaterialInstance *instance) |
| | Adds a material instance.
|
| void | apply_to (const string semantic, const PT(EggPrimitive) to) |
| | Applies the stuff to the given EggPrimitive.
|
| void | apply_to (const string semantic, const PT(EggGroup) to) |
| | Applies the colorblend stuff to the given EggGroup.
|
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
| const string | get_uvset_name (const string semantic, FUDaeGeometryInput::Semantic input_semantic, int32 input_set) |
| | Returns the semantic of the uvset with the specified input set, or an empty string if the given material has no input set.
|
Static Public Member Functions |
| static EggTexture::FilterType | convert_filter_type (const FUDaeTextureFilterFunction::FilterFunction orig_type) |
| | Converts an FCollada filter function to the EggTexture wrap type equivalent.
|
| static EggTexture::TextureType | convert_texture_type (const FCDEffectParameterSampler::SamplerType orig_type) |
| | Converts an FCollada sampler type to the EggTexture texture type equivalent.
|
| static EggTexture::WrapMode | convert_wrap_mode (const FUDaeTextureWrapMode::WrapMode orig_mode) |
| | Converts an FCollada wrap mode to the EggTexture wrap mode equivalent.
|
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Detailed Description
This class is seperated from the converter file because otherwise it would get too big and needlessly complicated.
Definition at line 41 of file daeMaterials.h.
Member Function Documentation
| void DaeMaterials::add_material_instance |
( |
const FCDMaterialInstance * |
instance | ) |
|
Adds a material instance.
Normally automatically done by constructor.
Definition at line 53 of file daeMaterials.cxx.
| void DaeMaterials::apply_to |
( |
const string |
semantic, |
|
|
const PT(EggPrimitive) |
to |
|
) |
| |
| void DaeMaterials::apply_to |
( |
const string |
semantic, |
|
|
const PT(EggGroup) |
to |
|
) |
| |
| EggTexture::FilterType DaeMaterials::convert_filter_type |
( |
const FUDaeTextureFilterFunction::FilterFunction |
orig_type | ) |
[static] |
| EggTexture::TextureType DaeMaterials::convert_texture_type |
( |
const FCDEffectParameterSampler::SamplerType |
orig_type | ) |
[static] |
| EggTexture::WrapMode DaeMaterials::convert_wrap_mode |
( |
const FUDaeTextureWrapMode::WrapMode |
orig_mode | ) |
[static] |
| const string DaeMaterials::get_uvset_name |
( |
const string |
semantic, |
|
|
FUDaeGeometryInput::Semantic |
input_semantic, |
|
|
int32 |
input_set |
|
) |
| |
Returns the semantic of the uvset with the specified input set, or an empty string if the given material has no input set.
Definition at line 261 of file daeMaterials.cxx.
| static void DaeMaterials::init_type |
( |
| ) |
[inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedReferenceCount.
Definition at line 94 of file daeMaterials.h.
The documentation for this class was generated from the following files: