FMX.Types3D.TShaderManager.UnregisterShader
Delphi
class procedure UnregisterShader(const Shader: TContextShader);
C++
__classmethod void __fastcall UnregisterShader(TContextShader* const Shader);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TShaderManager |
Description
Unregisters a specified shader.
The Shader
parameter specifies the shader to be unregistered.
To avoid unregistering a shader that can still be used by another object, do not unregister it explicitly. It will be freed by TShaderManager.