public AttributeInfo(string id, string name, GLType type) { Debug.Assert(VariableMaker.GetSupportedTypes().Contains(type)); Id = id; Name = name; Type = type; }
/// <summary> /// Returns all OpenGL types, for which AttributeInfo can be created. /// </summary> public static ICollection <GLType> GetSupportedTypes() { return(VariableMaker.GetSupportedTypes()); }