FMX.Types3D.TContextShader.LoadFromData

From RAD Studio API Documentation
Jump to: navigation, search

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

Name

The name for the shader.

Kind

The type of shader.

OriginalSource

The original source code for the shader.

Sources

The sources of the shader.

See Also