Light | Dark

# docs.GL

OpenGL 4
OpenGL ES 3
OpenGL ES 2

# glReleaseShaderCompiler

## Name

glReleaseShaderCompiler — release resources consumed by the implementation's shader compiler

## C Specification

`void glReleaseShaderCompiler(` | void`)`;

## Description

`glReleaseShaderCompiler` provides a hint to the implementation that it may free internal resources associated with its shader compiler. glCompileShader may subsequently be called and the implementation may at that time reallocate resources previously freed by the call to `glReleaseShaderCompiler`.

## API Version Support

| OpenGL ES API Version
--- | ---
Function Name | 2.0 | 3.0 | 3.1
glReleaseShaderCompiler | ✔ | ✔ | ✔

## See Also

glCompileShader, glLinkProgram

## Copyright

Copyright © 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.

Think you can improve this page? Edit this page on GitHub.