 | ShaderReleaseCompiler Method |
Release resources allocated by the shader compiler.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void ReleaseCompiler()
Public Shared Sub ReleaseCompiler
public:
static void ReleaseCompiler()
static member ReleaseCompiler : unit -> unit
Remarks
For implementations that support a shader compiler, this method frees resources allocated by the shader compiler.
This is a hint from the application that additional shader compilations are unlikely to occur, at least for some period of time,
and that the resources consumed by the shader compiler may be released and put to better use elsewhere.
However, if a call to Compile is made after a call to ReleaseCompiler,
the shader compiler must be restored to service the compilation request as if ReleaseCompiler had never been called.
OpenGL API: glReleaseShaderCompiler
See Also