Class TBGRAGenericPool

Unit

Declaration

type TBGRAGenericPool = class(TObject)

Description

Array of 3D points for batch computation

Hierarchy

Overview

Fields

Protected FPoolData: TMemoryBlockAlign128;

Methods

Public constructor Create(ACapacity: integer; AElementSize: integer);
Public destructor Destroy; override;
Public function Add: integer;
Protected function GetUsed(AElement: integer): boolean; virtual;
Protected procedure Remove(AIndex: integer);
Protected procedure SetUsed(AElement: integer; AUsed: boolean); virtual;

Properties

Public property Capacity: integer read FCapacity;
Public property Element[AIndex: integer]: Pointer read GetElement;
Public property UsedCapacity: integer read FUsedCapacity;

Description

Fields

Protected FPoolData: TMemoryBlockAlign128;

This item has no description.

Methods

Public constructor Create(ACapacity: integer; AElementSize: integer);

does not work if GetUsed/SetUsed are not implemented

Public destructor Destroy; override;

This item has no description.

Public function Add: integer;

This item has no description.

Protected function GetUsed(AElement: integer): boolean; virtual;

This item has no description.

Protected procedure Remove(AIndex: integer);

This item has no description.

Protected procedure SetUsed(AElement: integer; AUsed: boolean); virtual;

This item has no description.

Properties

Public property Capacity: integer read FCapacity;

This item has no description.

Public property Element[AIndex: integer]: Pointer read GetElement;

This item has no description.

Public property UsedCapacity: integer read FUsedCapacity;

This item has no description.