FMX.MaterialSources.TTextureMaterialSource.CreateMaterial

From RAD Studio API Documentation

Delphi

function CreateMaterial: TMaterial; override;

C++

virtual Fmx::Types3d::TMaterial* __fastcall CreateMaterial(void);

Properties

Type Visibility Source Unit Parent
function protected
FMX.MaterialSources.pas
FMX.MaterialSources.hpp
FMX.MaterialSources TTextureMaterialSource

Description

Creates the material within the current material source. {{#multireplace:FMX.MaterialSources.TTextureMaterialSource.CreateMaterial|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.MaterialSources.TMaterialSource.CreateMaterial|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.MaterialSources.TMaterialSource.CreateMaterial|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Creates the material within the current material source.

CreateMaterial is implemented by each TMaterialSource to create the TMaterial that will be in the material source.

The already created material sources are listed in the FMX.Materials unit.

See Also