Inherits DD::Image::Filter.
Public Types | |
enum | { Nearest, Bilinear, Trilinear, Anisotropic, NumFilters } |
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 |
bool | isMipMap () const |
void | initialize () |
int | type () const |
void | type (int type) |
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) |
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. | |
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_ |
As DD::Image::Filter but specific to sampling texture in 3d rendering context.
©2022 The Foundry Visionmongers, Ltd. All Rights Reserved. |