Beispiel #1
0
 public MemoryModel(Spv.AddressingModel addressingModel, Spv.MemoryModel value, string debugName = null)
 {
     this.AddressingModel = addressingModel;
     this.Value           = value;
     DebugName            = debugName;
 }
Beispiel #2
0
 public ShaderReflection WithMemoryModel(Spv.AddressingModel addressingModel, Spv.MemoryModel memoryModel)
 {
     return(this.With(new MemoryModel(addressingModel, memoryModel)));
 }