Exemplo n.º 1
0
 /// <summary>
 /// Updates the shader constant.
 /// </summary>
 /// <param name="constant">The shader constant to update.</param>
 internal void UpdateWorldViewProjection(ShaderConstant constant)
 {
     constant.Set(WorldViewProjection);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Updates the shader constant.
 /// </summary>
 /// <param name="constant">The shader constant to update.</param>
 internal void UpdateProjection(ShaderConstant constant)
 {
     constant.Set(Projection);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Updates the shader constant.
 /// </summary>
 /// <param name="constant">The shader constant to update.</param>
 internal void UpdateWorldView(ShaderConstant constant)
 {
     constant.Set(WorldView);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Updates the shader constant.
 /// </summary>
 /// <param name="constant">The shader constant to update.</param>
 internal void UpdateView(ShaderConstant constant)
 {
     constant.Set(View);
 }