Exemplo n.º 1
0
 /// <summary>
 /// Get the next texture parameter key from the normal map pool.
 /// </summary>
 /// <returns>A parameter key.</returns>
 private static ParameterKey <Graphics.Texture> GetNextNormalMapTextureKey(MaterialTextureVisitor textureVisitor)
 {
     return(textureVisitor.GetNextTextureKey(NormalMapTextureKeys, ref textureVisitor.nextNormalMapIndex));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get the next texture parameter key from the displacement pool.
 /// </summary>
 /// <returns>A parameter key.</returns>
 private static ParameterKey <Graphics.Texture> GetNextDisplacementTextureKey(MaterialTextureVisitor textureVisitor)
 {
     return(textureVisitor.GetNextTextureKey(DisplacementTextureKeys, ref textureVisitor.nextDisplacementIndex));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Get the next texture parameter key from the specular pool.
 /// </summary>
 /// <returns>A parameter key.</returns>
 private static ParameterKey <Graphics.Texture> GetNextSpecularTextureKey(MaterialTextureVisitor textureVisitor)
 {
     return(textureVisitor.GetNextTextureKey(SpecularTextureKeys, ref textureVisitor.nextSpecularIndex));
 }