-
Notifications
You must be signed in to change notification settings - Fork 0
/
Library.cs
34 lines (28 loc) · 787 Bytes
/
Library.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Library.cs
//
using System;
using System.Collections.Generic;
using GLSharp.Graphics;
namespace GLSharp.Resource
{
public class Library
{
private Dictionary<String, ICompiledShader> _shaderSet;
/// <summary>
/// The complete set of shaders used for drawing.
/// </summary>
public Dictionary<String, ICompiledShader> ShaderSet {
get { return _shaderSet; }
set { _shaderSet = value; }
}
private Dictionary<String, Mesh> _meshSet;
/// <summary>
/// The complete collection of Meshes used for rendering.
/// </summary>
public Dictionary<String, Mesh> MeshSet
{
get { return _meshSet; }
set { _meshSet = value; }
}
}
}