Dali 3D User Interface Engine
Enumerations
Dali::ResourcePolicy Namespace Reference

Enumerations

enum  DataRetention { DALI_RETAINS_ALL_DATA, DALI_DISCARDS_ALL_DATA }
 The data retention policy describes how dali should retain resource data. More...
 
enum  Discardable { OWNED_DISCARD, OWNED_RETAIN }
 The discardable policy determines if a resource can be discarded. More...
 

Enumeration Type Documentation

The data retention policy describes how dali should retain resource data.

Enumerator
DALI_RETAINS_ALL_DATA 
DALI_DISCARDS_ALL_DATA 

Definition at line 28 of file resource-policies.h.

The discardable policy determines if a resource can be discarded.

Discarded means that it can be released after uploading to GPU.

Enumerator
OWNED_DISCARD 
OWNED_RETAIN 

Definition at line 38 of file resource-policies.h.

Dali Docs Home
Read more about Dali