Show: Delphi C++
Display Preferences

FMX.Context.DX9.TCustomDX9Context

From XE3 API Documentation
Jump to: navigation, search

FMX.Types3D.TContext3DSystem.Classes.TInterfacedPersistentSystem.Classes.TPersistentSystem.TObject
TCustomDX9Context

Delphi

TCustomDX9Context = class(TContext3D)

C++

class PASCALIMPLEMENTATION TCustomDX9Context : public Fmx::Types3d::TContext3D

Properties

Type Visibility Source Unit Parent
class public
FMX.Context.DX9.pas
FMX.Context.DX9.hpp
FMX.Context.DX9 FMX.Context.DX9

Description

Class used for drawing and rendering 3D objects.

FMX.Context.DX9.TCustomDX9Context inherits from FMX.Types3D.TContext3D. All content below this line refers to FMX.Types3D.TContext3D.

Class used for drawing and rendering 3D objects. TContext3D defines a context for rendering 3D controls.

TContext3D includes a drawing surface associated with resources, textures, and states. TContext3D also includes specific methods for rendering and drawing, manipulating shaders and textures. To get the list of lights of the current context, use the Lights property. To add or remove light sources, use the AddLight and DeleteLight methods. The used shaders are specified by the CurrentVertexShader and CurrentPixelShader properties. To set the used shaders, use the SetShaders method. The camera used by the current 3D context is specified through TCamera.

The helper class, TContextHelper, adds high-level routines for drawing and filling.

Do not create a TContext3D explicitly. Use TContextManager to create, access, and register platform-specific TContext3D implementations.

See Also

Personal tools
Translations