PtexFilter::Options Struct Reference

Choose filter options. More...

`#include <Ptexture.h>`

## Public Member Functions

| Options (FilterType filter_=f_box, bool lerp_=0, float sharpness_=0, bool noedgeblend_=0)
| Constructor - sets defaults.

## Public Attributes

int | __structSize
| (for internal use only)
FilterType | filter
| Filter type.
bool | lerp
| Interpolate between mipmap levels.
float | sharpness
| Filter sharpness, 0..1 (for general bi-cubic filter only).
bool | noedgeblend
| Disable cross-face filtering. Useful for debugging or rendering on polys.

## Detailed Description

Choose filter options.

Definition at line 956 of file Ptexture.h.

## Constructor & Destructor Documentation

## Options()

PtexFilter::Options::Options | ( | FilterType | filter_ = `f_box`,
|  | bool | lerp_ = `0`,
|  | float | sharpness_ = `0`,
|  | bool | noedgeblend_ = `0`
| ) |  |

inline

Constructor - sets defaults.

Definition at line 964 of file Ptexture.h.

## Member Data Documentation

## __structSize

int PtexFilter::Options::__structSize

(for internal use only)

Definition at line 957 of file Ptexture.h.

Referenced by PtexSeparableFilter::PtexSeparableFilter().

## filter

FilterType PtexFilter::Options::filter

Filter type.

Definition at line 958 of file Ptexture.h.

Referenced by PtexFilter::getFilter().

## lerp

bool PtexFilter::Options::lerp

Interpolate between mipmap levels.

Definition at line 959 of file Ptexture.h.

Referenced by PtexWidth4Filter::buildKernelAxis().

## noedgeblend

bool PtexFilter::Options::noedgeblend

Disable cross-face filtering. Useful for debugging or rendering on polys.

Definition at line 961 of file Ptexture.h.

Referenced by PtexSeparableFilter::PtexSeparableFilter(), and PtexSeparableFilter::splitAndApply().

## sharpness

float PtexFilter::Options::sharpness

Filter sharpness, 0..1 (for general bi-cubic filter only).

Definition at line 960 of file Ptexture.h.

Referenced by PtexFilter::getFilter().

The documentation for this struct was generated from the following file:

- Ptexture.h