smrendererv3/SMCode/SM.Base/Drawing/Material.cs

35 lines
No EOL
806 B
C#

#region usings
using System.Collections.Generic;
using OpenTK.Graphics;
using SM.OGL.Texture;
#endregion
namespace SM.Base.Drawing
{
/// <summary>
/// Represents a material.
/// </summary>
public class Material
{
/// <summary>
/// A custom shader, that is used to draw this material.
/// </summary>
public MaterialShader CustomShader;
/// <summary>
/// The base texture. (aka. Diffuse Texture)
/// </summary>
public TextureBase Texture;
/// <summary>
/// The tint or color.
/// </summary>
public Color4 Tint = Color4.White;
public ShaderArguments ShaderArguments { get; internal set; } = new ShaderArguments();
public bool Blending = false;
}
}