HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TextureOptBatch Class Reference

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 floatmissingcolor = nullptr
 Color for missing texture. More...
 

Friends

class pvt::TextureSystemImpl
 

Detailed Description

Texture options for a batch of Tex::BatchWidth points and run mask.

Definition at line 286 of file texture.h.

Constructor & Destructor Documentation

TextureOptBatch::TextureOptBatch ( )
inline

Create a TextureOptBatch with all fields initialized to reasonable defaults.

Definition at line 290 of file texture.h.

Friends And Related Function Documentation

friend class pvt::TextureSystemImpl
friend

Definition at line 323 of file texture.h.

Member Data Documentation

int TextureOptBatch::anisotropic = 32

Maximum anisotropic ratio.

Definition at line 313 of file texture.h.

int TextureOptBatch::conservative_filter = 1

True: over-blur rather than alias.

Definition at line 314 of file texture.h.

float TextureOptBatch::fill = 0.0f

Fill value for missing channels.

Definition at line 315 of file texture.h.

int TextureOptBatch::firstchannel = 0

First channel of the lookup.

Definition at line 305 of file texture.h.

Tex::InterpMode TextureOptBatch::interpmode = Tex::InterpMode::SmartBicubic

Interpolation mode.

Definition at line 312 of file texture.h.

Tex::MipMode TextureOptBatch::mipmode = Tex::MipMode::Default

Mip mode.

Definition at line 311 of file texture.h.

const float* TextureOptBatch::missingcolor = nullptr

Color for missing texture.

Definition at line 316 of file texture.h.

float TextureOptBatch::rblur[Tex::BatchWidth]

Definition at line 295 of file texture.h.

float TextureOptBatch::rwidth[Tex::BatchWidth]

Definition at line 298 of file texture.h.

Tex::Wrap TextureOptBatch::rwrap = Tex::Wrap::Default

Wrap mode in the r direction (volumetric)

Definition at line 310 of file texture.h.

float TextureOptBatch::sblur[Tex::BatchWidth]

Blur amount.

Definition at line 293 of file texture.h.

int TextureOptBatch::subimage = 0

Subimage or face ID.

Definition at line 306 of file texture.h.

ustring TextureOptBatch::subimagename

Subimage name.

Definition at line 307 of file texture.h.

float TextureOptBatch::swidth[Tex::BatchWidth]

Multiplier for derivatives.

Definition at line 296 of file texture.h.

Tex::Wrap TextureOptBatch::swrap = Tex::Wrap::Default

Wrap mode in the s direction.

Definition at line 308 of file texture.h.

float TextureOptBatch::tblur[Tex::BatchWidth]

Definition at line 294 of file texture.h.

float TextureOptBatch::twidth[Tex::BatchWidth]

Definition at line 297 of file texture.h.

Tex::Wrap TextureOptBatch::twrap = Tex::Wrap::Default

Wrap mode in the t direction.

Definition at line 309 of file texture.h.


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