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

#include <types.h>

Public Member Functions

HD_API HdSamplerParameters ()
 
HD_API HdSamplerParameters (HdWrap wrapS, HdWrap wrapT, HdWrap wrapR, HdMinFilter minFilter, HdMagFilter magFilter, HdBorderColor borderColor=HdBorderColorTransparentBlack, bool enableCompare=false, HdCompareFunction compareFunction=HdCmpFuncNever, uint32_t maxAnisotropy=16)
 
HD_API bool operator== (const HdSamplerParameters &other) const
 
HD_API bool operator!= (const HdSamplerParameters &other) const
 

Public Attributes

HdWrap wrapS
 
HdWrap wrapT
 
HdWrap wrapR
 
HdMinFilter minFilter
 
HdMagFilter magFilter
 
HdBorderColor borderColor
 
bool enableCompare
 
HdCompareFunction compareFunction
 
uint32_t maxAnisotropy
 

Detailed Description

Collection of standard parameters such as wrap modes to sample a texture.

Definition at line 110 of file types.h.

Constructor & Destructor Documentation

HD_API HdSamplerParameters::HdSamplerParameters ( )
HD_API HdSamplerParameters::HdSamplerParameters ( HdWrap  wrapS,
HdWrap  wrapT,
HdWrap  wrapR,
HdMinFilter  minFilter,
HdMagFilter  magFilter,
HdBorderColor  borderColor = HdBorderColorTransparentBlack,
bool  enableCompare = false,
HdCompareFunction  compareFunction = HdCmpFuncNever,
uint32_t  maxAnisotropy = 16 
)

Member Function Documentation

HD_API bool HdSamplerParameters::operator== ( const HdSamplerParameters other) const

Member Data Documentation

HdBorderColor HdSamplerParameters::borderColor

Definition at line 117 of file types.h.

HdCompareFunction HdSamplerParameters::compareFunction

Definition at line 119 of file types.h.

bool HdSamplerParameters::enableCompare

Definition at line 118 of file types.h.

HdMagFilter HdSamplerParameters::magFilter

Definition at line 116 of file types.h.

uint32_t HdSamplerParameters::maxAnisotropy

Definition at line 120 of file types.h.

HdMinFilter HdSamplerParameters::minFilter

Definition at line 115 of file types.h.

HdWrap HdSamplerParameters::wrapR

Definition at line 114 of file types.h.

HdWrap HdSamplerParameters::wrapS

Definition at line 112 of file types.h.

HdWrap HdSamplerParameters::wrapT

Definition at line 113 of file types.h.


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