FMX.Types3D.TContextShader.LoadFromData
Delphi
procedure LoadFromData(const Name: string; const Kind: TContextShaderKind; const OriginalSource: string; const Sources: array of TContextShaderSource);
C++
void __fastcall LoadFromData(const System::UnicodeString Name, const TContextShaderKind Kind, const System::UnicodeString OriginalSource, const TContextShaderSource *Sources, const int Sources_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContextShader |
Description
Loads the data from the parameters into the current shader.
Use LoadFromData to copy the parameters' values into the current shader.
Value | Meaning |
---|---|
|
The name for the shader. |
|
The type of shader. |
|
The original source code for the shader. |
|
The sources of the shader. |
See Also