/// <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)); }
/// <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)); }
/// <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)); }