HDK
|
Texture options for a batch of Tex::BatchWidth points and run mask. More...
#include <texture.h>
Public Member Functions | |
TextureOptBatch () | |
Public Attributes | |
float | sblur [Tex::BatchWidth] |
Blur amount. More... | |
float | tblur [Tex::BatchWidth] |
float | rblur [Tex::BatchWidth] |
float | swidth [Tex::BatchWidth] |
Multiplier for derivatives. More... | |
float | twidth [Tex::BatchWidth] |
float | rwidth [Tex::BatchWidth] |
int | firstchannel = 0 |
First channel of the lookup. More... | |
int | subimage = 0 |
Subimage or face ID. More... | |
ustring | subimagename |
Subimage name. More... | |
Tex::Wrap | swrap = Tex::Wrap::Default |
Wrap mode in the s direction. More... | |
Tex::Wrap | twrap = Tex::Wrap::Default |
Wrap mode in the t direction. More... | |
Tex::Wrap | rwrap = Tex::Wrap::Default |
Wrap mode in the r direction (volumetric) More... | |
Tex::MipMode | mipmode = Tex::MipMode::Default |
Mip mode. More... | |
Tex::InterpMode | interpmode = Tex::InterpMode::SmartBicubic |
Interpolation mode. More... | |
int | anisotropic = 32 |
Maximum anisotropic ratio. More... | |
int | conservative_filter = 1 |
True: over-blur rather than alias. More... | |
float | fill = 0.0f |
Fill value for missing channels. More... | |
const float * | missingcolor = nullptr |
Color for missing texture. More... | |
Friends | |
class | pvt::TextureSystemImpl |
Texture options for a batch of Tex::BatchWidth points and run mask.
|
inline |
Create a TextureOptBatch with all fields initialized to reasonable defaults.
int TextureOptBatch::anisotropic = 32 |
int TextureOptBatch::conservative_filter = 1 |
float TextureOptBatch::fill = 0.0f |
int TextureOptBatch::firstchannel = 0 |
Tex::InterpMode TextureOptBatch::interpmode = Tex::InterpMode::SmartBicubic |
Tex::MipMode TextureOptBatch::mipmode = Tex::MipMode::Default |
const float* TextureOptBatch::missingcolor = nullptr |
Tex::Wrap TextureOptBatch::rwrap = Tex::Wrap::Default |
float TextureOptBatch::sblur[Tex::BatchWidth] |
float TextureOptBatch::swidth[Tex::BatchWidth] |
Tex::Wrap TextureOptBatch::swrap = Tex::Wrap::Default |
Tex::Wrap TextureOptBatch::twrap = Tex::Wrap::Default |