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