#include <FCDEffectParameterSampler.h>
Inheritance diagram for FCDEffectParameterSampler:

Public Types | |
| enum | SamplerType { SAMPLER1D, SAMPLER2D, SAMPLER3D, SAMPLERCUBE } |
| The type of sampling to execute. More... | |
Public Member Functions | |
| FCDEffectParameterSampler (FCDocument *document) | |
| Constructor: do not use directly. | |
| virtual | ~FCDEffectParameterSampler () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the type of effect parameter class. | |
| FCDEffectParameterSurface * | GetSurface () |
| Retrieves the parameter for the surface to sample. | |
| const FCDEffectParameterSurface * | GetSurface () const |
| See above. | |
| void | SetSurface (FCDEffectParameterSurface *surface) |
| Sets the surface parameter for the surface to sample. | |
| SamplerType | GetSamplerType () const |
| Retrieves the type of sampling to do. | |
| void | SetSamplerType (SamplerType type) |
| Sets the type of sampling to do. | |
| FUDaeTextureWrapMode::WrapMode | GetWrapS () const |
| Retrieves the wrap mode (in dimension S, T or P) of the sampler. | |
| FUDaeTextureWrapMode::WrapMode | GetWrapT () const |
| See above. | |
| FUDaeTextureWrapMode::WrapMode | GetWrapP () const |
| See above. | |
| void | SetWrapS (FUDaeTextureWrapMode::WrapMode mode) |
| Sets the wrap mode (in dimension S, T or P) of the sampler. | |
| void | SetWrapT (FUDaeTextureWrapMode::WrapMode mode) |
| See above. | |
| void | SetWrapP (FUDaeTextureWrapMode::WrapMode mode) |
| See above. | |
| FUDaeTextureFilterFunction::FilterFunction | GetMinFilter () const |
| Retrieves the appropriate filter function (minification, magnification or mip map filtering) of the sampler. | |
| FUDaeTextureFilterFunction::FilterFunction | GetMagFilter () const |
| See above. | |
| FUDaeTextureFilterFunction::FilterFunction | GetMipFilter () const |
| See above. | |
| void | SetMinFilter (FUDaeTextureFilterFunction::FilterFunction func) |
| Sets the appropriate filter function (minification, magnification or mip map filtering) of the sampler. | |
| void | SetMagFilter (FUDaeTextureFilterFunction::FilterFunction func) |
| See above. | |
| void | SetMipFilter (FUDaeTextureFilterFunction::FilterFunction func) |
| See above. | |
| virtual bool | IsValueEqual (FCDEffectParameter *parameter) |
| Compares this parameter's value with another. | |
| virtual FCDEffectParameter * | Clone (FCDEffectParameter *clone=NULL) const |
| Creates a full copy of the effect parameter. | |
| virtual void | Overwrite (FCDEffectParameter *target) |
| [INTERNAL] Overwrites the target parameter with this parameter. | |
A sampler parameter provides the extra texturing information necessary to correctly sample a surface parameter. There are four types of samplers supported: 1D, 2D, 3D and cube.
|
|
The type of sampling to execute.
|
|
|
Constructor: do not use directly. Instead, use the appropriate AddEffectParameter function.
|
|
|
Creates a full copy of the effect parameter.
Reimplemented from FCDEffectParameter. |
|
|
Retrieves the appropriate filter function (minification, magnification or mip map filtering) of the sampler.
|
|
|
Retrieves the type of sampling to do.
|
|
|
Retrieves the parameter for the surface to sample.
|
|
|
Retrieves the type of effect parameter class.
Implements FCDEffectParameter. |
|
|
Retrieves the wrap mode (in dimension S, T or P) of the sampler.
|
|
|
Compares this parameter's value with another.
Implements FCDEffectParameter. |
|
|
[INTERNAL] Overwrites the target parameter with this parameter. This function is used during the flattening of materials.
Reimplemented from FCDEffectParameter. |
|
|
Sets the appropriate filter function (minification, magnification or mip map filtering) of the sampler.
|
|
|
Sets the type of sampling to do.
|
|
|
Sets the surface parameter for the surface to sample.
|
|
|
Sets the wrap mode (in dimension S, T or P) of the sampler.
|
1.4.6-NO