HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
texture.h File Reference
+ Include dependency graph for texture.h:

Go to the source code of this file.

Classes

class  TextureOpt
 
class  TextureOptBatch
 Texture options for a batch of Tex::BatchWidth points and run mask. More...
 
class  TextureOptions
 
class  TextureSystem
 

Namespaces

 pvt
 
 Tex
 

Macros

#define OIIO_TEXTURESYSTEM_SUPPORTS_CLOSE   1
 
#define OIIO_TEXTURESYSTEM_SUPPORTS_STOCHASTIC   1
 
#define OIIO_TEXTURE_SIMD_BATCH_WIDTH   16
 

Typedefs

typedef simd::VecType< float,
OIIO_TEXTURE_SIMD_BATCH_WIDTH >
::type 
Tex::FloatWide
 A type alias for a SIMD vector of floats with the batch width. More...
 
typedef simd::VecType< int,
OIIO_TEXTURE_SIMD_BATCH_WIDTH >
::type 
Tex::IntWide
 A type alias for a SIMD vector of ints with the batch width. More...
 
typedef uint64_t Tex::RunMask
 
typedef unsigned char Runflag
 

Enumerations

enum  pvt::TexFormat {
  pvt::TexFormatUnknown, pvt::TexFormatTexture, pvt::TexFormatTexture3d, pvt::TexFormatShadow,
  pvt::TexFormatCubeFaceShadow, pvt::TexFormatVolumeShadow, pvt::TexFormatLatLongEnv, pvt::TexFormatCubeFaceEnv,
  pvt::TexFormatLast
}
 
enum  pvt::EnvLayout {
  pvt::LayoutTexture = 0, pvt::LayoutLatLong, pvt::LayoutCubeThreeByTwo, pvt::LayoutCubeOneBySix,
  pvt::EnvLayoutLast
}
 
enum  Tex::Wrap {
  Tex::Wrap::Default, Tex::Wrap::Black, Tex::Wrap::Clamp, Tex::Wrap::Periodic,
  Tex::Wrap::Mirror, Tex::Wrap::PeriodicPow2, Tex::Wrap::PeriodicSharedBorder, Tex::Wrap::Last
}
 
enum  Tex::MipMode {
  Tex::MipMode::Default, Tex::MipMode::NoMIP, Tex::MipMode::OneLevel, Tex::MipMode::Trilinear,
  Tex::MipMode::Aniso, Tex::MipMode::StochasticTrilinear, Tex::MipMode::StochasticAniso
}
 
enum  Tex::InterpMode { Tex::InterpMode::Closest, Tex::InterpMode::Bilinear, Tex::InterpMode::Bicubic, Tex::InterpMode::SmartBicubic }
 
enum  RunFlagVal { RunFlagOff = 0, RunFlagOn = 255 }
 

Functions

OIIO_API Wrap Tex::decode_wrapmode (const char *name)
 
OIIO_API Wrap Tex::decode_wrapmode (ustring name)
 
OIIO_API void Tex::parse_wrapmodes (const char *wrapmodes, Wrap &swrapcode, Wrap &twrapcode)
 

Detailed Description

An API for accessing filtered texture lookups via a system that automatically manages a cache of resident texture.

Definition in file texture.h.

Macro Definition Documentation

#define OIIO_TEXTURE_SIMD_BATCH_WIDTH   16

Fixed width for SIMD batching texture lookups. May be changed for experimentation or future expansion.

Definition at line 115 of file texture.h.

#define OIIO_TEXTURESYSTEM_SUPPORTS_CLOSE   1

Definition at line 21 of file texture.h.

#define OIIO_TEXTURESYSTEM_SUPPORTS_STOCHASTIC   1

Definition at line 23 of file texture.h.

Typedef Documentation

typedef unsigned char Runflag

Data type for flags that indicate on a point-by-point basis whether we want computations to be performed.

Definition at line 159 of file texture.h.

Enumeration Type Documentation

enum RunFlagVal

Pre-defined values for Runflag's.

Enumerator
RunFlagOff 
RunFlagOn 

Definition at line 163 of file texture.h.