FMX.Types3D.TShaderManager.RegisterShader
Delphi
class function RegisterShader(const Shader: TContextShader): TContextShader;
C++
__classmethod TContextShader* __fastcall RegisterShader(TContextShader* const Shader);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TShaderManager |
Description
Registers a shader.
The Shader
parameter specifies the shader to be registered.
Use the RegisterShader method to register a shader, and RegisterShaderFromData to create a shader from existing sources.