Ejemplo n.º 1
0
 public void Use(ComputeShaderList shader)
 {
     if (this._ComputeShaderList == null)
     {
         this.InitializeComputeShaderList();
     }
     this.AddReference(this._ComputeShaderList[(int)shader]);
 }
Ejemplo n.º 2
0
 public ComputeShader Get(ComputeShaderList type)
 {
     if (this._ComputeShaderList == null)
     {
         this.InitializeComputeShaderList();
     }
     this.AddReference(this._ComputeShaderList[(int)type]);
     return(this._ComputeShaderList[(int)type]);
 }