#include <TextureFilter.h>
Public Types | |
| enum | { Nearest , Bilinear , Trilinear , Anisotropic , NumFilters } |
| Built-in filter types. More... | |
Public Types inherited from DD::Image::Filter | |
| enum | { Impulse , Cubic , Keys , Simon , Rifman , Mitchell , Parzen , Notch , Lanczos4 , Lanczos6 , Sinc4 , NumFilters } |
Public Member Functions | |
| TextureFilter (int type=Filter::Cubic, bool enableMipType=false) | |
| void | knobs (Knob_Callback, const char *name="filter", const char *label=nullptr) |
| bool | isMipTypeEnabled () const |
| Returns true if the filter instance supports a mipmap filtering type. | |
| bool | isMipMap () const |
| Returns true if the filter needs mip levels. | |
| void | initialize () |
| If not a mip map type calls Filter::initialize(). | |
| int | type () const |
| Filter's assigned type. | |
| void | type (int type) |
| Set the filter type. | |
| virtual bool | IsMipMappingFilter (int type) const |
Public Member Functions inherited from DD::Image::Filter | |
| int | type () const |
| void | type (int t) |
| Knob * | filterKnob () |
| Filter (int type=Cubic) | |
| void | initialize () |
| bool | get (float position, float width, Coefficients &) const |
| bool | impulse () const |
| bool | interpolative () const |
| void | knobs (Knob_Callback, const char *name="filter", const char *label=nullptr) |
Protected Attributes | |
| bool | _enableMipType |
Protected Attributes inherited from DD::Image::Filter | |
| int | type_ |
| Enumeration in built-in list. | |
| float * | filter_array |
| Filter data in an XY array. | |
| Knob * | filter_knob_ |
Additional Inherited Members | |
Static Public Attributes inherited from DD::Image::Filter | |
| static const char * | NAMES [] |
| Name text array for menus. | |
| static const char * | HELP |
| Help text for tooltips. | |
Like DD::Image::Filter but specific to sampling textures in a 3d rendering context.
| anonymous enum |
Built-in filter types.
|
inlinevirtual |
Does the filter type enum implement mip-mapping? A subclass can redefine this to support additional filter types that mipmap.
| ©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |