Xors3d Engine
Semantics

Modules

 Matrix semantics
 Non-matrix semantics

Detailed Description

There are a number of constant parameters that need to be passed from the main code of the application to the shader. Usually, you can do this by using xSetEffectVector(), xSetEffectFloat() or xSetEffectInt().
However, you don't need to use these functions to pass commonly used data such as textures, parameters of the lights, matrices etc. You can use semantics in shaders instead. Semantics shows the engine which data should be passed to the shaders automatically.