Skip to content

TAbstractResource.CacheData

Controls the copy-on-write behaviour of the resource

Declaration

Source position: resource.pp line 184

public property CacheData: Boolean;

Description

When CacheData is true, copy-on-write mechanism of RawData is enabled.

Setting CacheData to false forces the raw resource data to be loaded in memory without performing any caching.

By default, CacheData is true.

See also

Name Description
TAbstractResource.RawData The raw resource data stream
TResources.CacheData Controls the copy-on-write behaviour of all resources