FMX.Types3D.TContext3D.DrawTriangles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawTriangles(const Vertices: TVertexBuffer; const Indices: TIndexBuffer;  const Material: TMaterial; const Opacity: Single);

C++

void __fastcall DrawTriangles(TVertexBuffer* const Vertices, TIndexBuffer* const Indices, TMaterial* const Material, const float Opacity);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TContext3D

Description

Draws the triangles specified by the parameters.

DrawTriangles accepts the following parameters:

Parameter Meaning

Vertices

Pointer to the vertices data.

Indices

Pointer to the indices data.

Material

The material used for drawing.

Opacity

The opacity used at drawing.

See Also