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

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

A vertex or fragment position. More...

#include <ShPosition.hpp>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef T ValueType
typedef ShPosition< N, SH_INPUT,
T > 
InputType
typedef ShPosition< N, SH_OUTPUT,
T > 
OutputType
typedef ShPosition< N, SH_INOUT,
T > 
InOutType
typedef ShPosition< N, SH_TEMP,
T > 
TempType
typedef ShPosition< N, SH_CONST,
T > 
ConstType

Public Member Functions

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

Static Public Attributes

const int typesize
const ShBindingType binding_type
const ShSemanticType semantic_type

Detailed Description

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

A vertex or fragment position.

This is semantically a point, but is bound preferentially to the position input and output of the rasterizer or to the vertex position when used in vertex and fragment shaders.

Definition at line 49 of file ShPosition.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 18 14:17:57 2004 for Sh by doxygen 1.3.7