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