public void Dispose() { if (compiler != null) { compiler.Dispose(); compiler = null; } GC.SuppressFinalize(this); }
/// <summary> /// Construction of shader. /// </summary> /// <param name="c">The shader compiler.</param> internal ShaderCompiler(Driver.IShaderCompiler c) { compiler = c; }