FMX.Types3D.TContext3D.UpdateTexture
Delphi
class procedure UpdateTexture(const Texture: TTexture; const Bits: Pointer; const Pitch: Integer);
C++
__classmethod void __fastcall UpdateTexture(TTexture* const Texture, const void * Bits, const int Pitch);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContext3D |
Description
Updates the given texture with the specified data.
The Bits
parameter is a pointer to the data that needs to be added to the texture.
The Pitch
parameter specifies the leap within the texture's bits, used to identify from where to start updating.