30.09.2020
+ Mouse support + Started to add summaries to SM.Base
This commit is contained in:
parent
16366fa015
commit
7acdba92f8
21 changed files with 325 additions and 58 deletions
|
|
@ -3,11 +3,24 @@ using SM.OGL.Texture;
|
|||
|
||||
namespace SM.Base.Scene
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a material.
|
||||
/// </summary>
|
||||
public class Material
|
||||
{
|
||||
/// <summary>
|
||||
/// The base texture. (aka. Diffuse Texture)
|
||||
/// </summary>
|
||||
public TextureBase Texture;
|
||||
/// <summary>
|
||||
/// The tint or color.
|
||||
/// </summary>
|
||||
public Color4 Tint = Color4.White;
|
||||
|
||||
/// <summary>
|
||||
/// A shader, that is used to draw this material.
|
||||
/// <para>Default: Defaults.DefaultShaders </para>
|
||||
/// </summary>
|
||||
public IShader Shader = Defaults.DefaultShader;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue