Provides abstraction of shader instance. If specified shader source was instanced already, delegate actual instance. And counts reference of shader and if that shader was released and the count is zero, this shader resource would be deleted automatically.
DO NOT instanciate this class directly. Use getShader method instead.
Metadata containing some useful data for glresource in Debugging.
Release shader instance from reference. Do not call this method dupelicately per a getShader call.
That would make this shader disposed unintendedly.
Provide metadata for key
key of the metadata
value of the metadata
Obtain a reference to shader.
Generated using TypeDoc