Exemple #1
0
 /// <summary>
 /// Creates a new <see cref="ShaderModel"/>
 /// </summary>
 public ShaderModel(ShaderType type, byte major, byte minor)
 {
     Guard.True(type.IsValid(), "ShaderType was invalid");
     Type  = type;
     Major = major;
     Minor = minor;
 }