#include <FCDTexture.h>
Inheritance diagram for FCDTexture:
Public Member Functions | |
FCDTexture (FCDocument *document, FCDEffectStandard *parent=NULL) | |
Constructor. | |
virtual | ~FCDTexture () |
Destructor. | |
FCDEffectStandard * | GetParent () const |
Access the parent standard effect or this texture. | |
FCDImage * | GetImage () |
Retrieves the image information for this texture. | |
const FCDImage * | GetImage () const |
See above. | |
void | SetImage (FCDImage *image) |
Set the image information for this texture. | |
FCDEffectParameterSampler * | GetSampler () |
Retrieves the surface sampler for this texture. | |
const FCDEffectParameterSampler * | GetSampler () const |
See above. | |
void | SetSampler (FCDEffectParameterSampler *_sampler) |
Sets the targeted sampler. | |
bool | HasSampler () |
Determines whether this texture targets a sampler. | |
FCDEffectParameterInt * | GetSet () |
Retrieves the texture coordinate set to use with this texture. | |
const FCDEffectParameterInt * | GetSet () const |
See above. | |
FCDExtra * | GetExtra () |
Retrieves the extra information tied to this texture. | |
const FCDExtra * | GetExtra () const |
See above. | |
virtual FCDTexture * | Clone (FCDTexture *clone=NULL) const |
Clones the texture. |
Textures are used by the COMMON profile materials. As per the COLLADA 1.4 specification, a texture is used to match some texture coordinates with a surface sampler, on a given texturing channel.
Therefore: textures hold the extra information necessary to place an image correctly onto polygon sets. This extra information includes the texturing coordinate transformations and the blend mode.
|
Constructor. Do not use directly. Instead, use the FCDEffectStandard::AddTexture function.
|
|
Clones the texture.
|
|
Retrieves the extra information tied to this texture.
|
|
Retrieves the image information for this texture.
|
|
Access the parent standard effect or this texture.
|
|
Retrieves the surface sampler for this texture.
|
|
Retrieves the texture coordinate set to use with this texture. This information is duplicated from the material instance abstraction level.
|
|
Determines whether this texture targets a sampler.
|
|
Set the image information for this texture. This is a shortcut that generates the sampler/surface parameters to access the given image.
|
|
Sets the targeted sampler.
|