Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShColor< N, Binding, T, Swizzled > Class Template Reference

An n-color. More...

#include <ShColor.hpp>

Inheritance diagram for SH::ShColor< N, Binding, T, Swizzled >:

Inheritance graph
[legend]
Collaboration diagram for SH::ShColor< N, Binding, T, Swizzled >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T storage_type
typedef ShHostType< T >::type host_type
typedef ShMemType< T >::type mem_type
typedef ShColor< N, SH_INPUT,
T > 
InputType
typedef ShColor< N, SH_OUTPUT,
T > 
OutputType
typedef ShColor< N, SH_INOUT,
T > 
InOutType
typedef ShColor< N, SH_TEMP,
T > 
TempType
typedef ShColor< N, SH_CONST,
T > 
ConstType

Public Member Functions

template<typename T2>
 ShColor (const ShGeneric< N, T2 > &other)
 ShColor (const ShColor< N, Binding, T, Swizzled > &other)
template<typename T2>
 ShColor (const ShColor< N, Binding, T2, Swizzled > &other)
 ShColor (const ShVariableNodePtr &node, const ShSwizzle &swizzle, bool neg)
 ShColor (host_type data[N])
template<typename T2>
ShColoroperator= (const ShGeneric< N, T2 > &other)
template<typename T2>
ShColoroperator= (const ShColor< N, Binding, T2, Swizzled > &other)
ShColoroperator= (const ShColor< N, Binding, T, Swizzled > &other)
ShColoroperator= (const ShProgram &prg)
template<typename T2>
ShColoroperator+= (const ShGeneric< N, T2 > &right)
template<typename T2>
ShColoroperator-= (const ShGeneric< N, T2 > &right)
template<typename T2>
ShColoroperator *= (const ShGeneric< N, T2 > &right)
template<typename T2>
ShColoroperator/= (const ShGeneric< N, T2 > &right)
template<typename T2>
ShColoroperator%= (const ShGeneric< N, T2 > &right)
ShColoroperator *= (host_type)
ShColoroperator/= (host_type)
ShColoroperator%= (host_type)
ShColoroperator+= (host_type)
ShColoroperator-= (host_type)
template<typename T2>
ShColoroperator+= (const ShGeneric< 1, T2 > &)
template<typename T2>
ShColoroperator-= (const ShGeneric< 1, T2 > &)
template<typename T2>
ShColoroperator *= (const ShGeneric< 1, T2 > &)
template<typename T2>
ShColoroperator/= (const ShGeneric< 1, T2 > &)
template<typename T2>
ShColoroperator%= (const ShGeneric< 1, T2 > &)
ShColor< 1, Binding, T, true > operator() (int) const
ShColor< 2, Binding, T, true > operator() (int, int) const
ShColor< 3, Binding, T, true > operator() (int, int, int) const
ShColor< 4, Binding, T, true > operator() (int, int, int, int) const
ShColor< 1, Binding, T, true > operator[] (int) const
template<int N2>
ShColor< N2, Binding, T, true > swiz (int indices[]) const
ShColor operator- () const

Static Public Attributes

static const ShBindingType binding_type
static const ShSemanticType semantic_type

Detailed Description

template<int N, ShBindingType Binding, typename T = float, bool Swizzled = false>
class SH::ShColor< N, Binding, T, Swizzled >

An n-color.

Definition at line 45 of file ShColor.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:06 2005 for Sh by  doxygen 1.4.1