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