コード例 #1
0
        public AttributeInfo(string id, string name, GLType type)
        {
            Debug.Assert(VariableMaker.GetSupportedTypes().Contains(type));

            Id   = id;
            Name = name;
            Type = type;
        }
コード例 #2
0
 /// <summary>
 /// Returns all OpenGL types, for which AttributeInfo can be created.
 /// </summary>
 public static ICollection <GLType> GetSupportedTypes()
 {
     return(VariableMaker.GetSupportedTypes());
 }