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

ShVariableType.hpp File Reference

Lists the binding, semantic, and Value types available in Sh and their associated C++ data types for host computation and holding in memory. More...

#include "ShDllExport.hpp"

Include dependency graph for ShVariableType.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SH

Enumerations

enum  ShBindingType {
  SH_INPUT, SH_OUTPUT, SH_INOUT, SH_TEMP,
  SH_CONST, SH_TEXTURE, SH_STREAM, SH_PALETTE,
  SH_BINDINGTYPE_END
}
 The various ways variables can be bound.
enum  ShSemanticType {
  SH_ATTRIB, SH_POINT, SH_VECTOR, SH_NORMAL,
  SH_COLOR, SH_TEXCOORD, SH_POSITION, SH_SEMANTICTYPE_END
}
 The various ways semantic types for variables.


Detailed Description

Lists the binding, semantic, and Value types available in Sh and their associated C++ data types for host computation and holding in memory.

Each enum is zero-indexed.

For some Value types, the host data type and memory data types are different since the first must be efficient in host computation and the second needs to satisfy space constraints and special data formats used in some backends.

For more information on operations dealing with the data types such as allocation of arrays, automatic promotions, and casting.

See also:
ShTypeInfo.hpp

Definition in file ShVariableType.hpp.


Generated on Mon Jan 24 18:37:55 2005 for Sh by  doxygen 1.4.1