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]
 
float rnd [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...
 
int colortransformid = 0
 Color space id of the texture. More...
 

Friends

class pvt::TextureSystemImpl
 

Detailed Description

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

Definition at line 309 of file texture.h.

Constructor & Destructor Documentation

TextureOptBatch::TextureOptBatch ( )
inline

Create a TextureOptBatch with all fields initialized to reasonable defaults.

Definition at line 313 of file texture.h.

Friends And Related Function Documentation

friend class pvt::TextureSystemImpl
friend

Definition at line 348 of file texture.h.

Member Data Documentation

int TextureOptBatch::anisotropic = 32

Maximum anisotropic ratio.

Definition at line 337 of file texture.h.

int TextureOptBatch::colortransformid = 0

Color space id of the texture.

Definition at line 341 of file texture.h.

int TextureOptBatch::conservative_filter = 1

True: over-blur rather than alias.

Definition at line 338 of file texture.h.

float TextureOptBatch::fill = 0.0f

Fill value for missing channels.

Definition at line 339 of file texture.h.

int TextureOptBatch::firstchannel = 0

First channel of the lookup.

Definition at line 329 of file texture.h.

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

Interpolation mode.

Definition at line 336 of file texture.h.

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

Mip mode.

Definition at line 335 of file texture.h.

const float* TextureOptBatch::missingcolor = nullptr

Color for missing texture.

Definition at line 340 of file texture.h.

float TextureOptBatch::rblur[Tex::BatchWidth]

Definition at line 321 of file texture.h.

float TextureOptBatch::rnd[Tex::BatchWidth]

Definition at line 326 of file texture.h.

float TextureOptBatch::rwidth[Tex::BatchWidth]

Definition at line 324 of file texture.h.

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

Wrap mode in the r direction (volumetric)

Definition at line 334 of file texture.h.

float TextureOptBatch::sblur[Tex::BatchWidth]

Blur amount.

Definition at line 319 of file texture.h.

int TextureOptBatch::subimage = 0

Subimage or face ID.

Definition at line 330 of file texture.h.

ustring TextureOptBatch::subimagename

Subimage name.

Definition at line 331 of file texture.h.

float TextureOptBatch::swidth[Tex::BatchWidth]

Multiplier for derivatives.

Definition at line 322 of file texture.h.

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

Wrap mode in the s direction.

Definition at line 332 of file texture.h.

float TextureOptBatch::tblur[Tex::BatchWidth]

Definition at line 320 of file texture.h.

float TextureOptBatch::twidth[Tex::BatchWidth]

Definition at line 323 of file texture.h.

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

Wrap mode in the t direction.

Definition at line 333 of file texture.h.


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