public EffectParameterDefinition(String name, HlslTypeDefinition type, HlslSemantic semantic)
 {
     Name = name;
     Type = type;
     HasStorageClass = false;
     HasSemantic = true;
     StorageClass = StorageClass.None;
     Semantic = semantic;
 }
 public EffectParameterDefinition(String name, HlslTypeDefinition type, StorageClass storageClass)
 {
     Name = name;
     Type = type;
     HasStorageClass = true;
     HasSemantic = false;
     StorageClass = storageClass;
     Semantic = new HlslSemantic();
 }