# Candera Engine Base

#### Resource Objects.

Large data buffers that need to be uploaded or that are rarely used are not longer directly stored in [DeviceObject](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_device_object.html "DeviceObject is the pure abstract base class for all objects which are able to upload or unload itsel...") objects. Instead, a [ResourceDataHandle](http://dev.doc.cgistudio.at/APILINK/struct_candera_1_1_resource_data_handle.html "Object that stores information about access to large data buffers.") structure is stored, which can consist of one of :

<div class="contents" id="bkmrk-pointer-to-existing-"><div class="contents"><div class="textblock">- pointer to existing data, pointer to disposer function and size (backward compatible)
- information on where data can be found in asset and size
- custom information for custom ResourceProviders.

</div></div></div>ResourceObjects are objects that guarantee that during their lifetime, data referenced by a [ResourceDataHandle](http://dev.doc.cgistudio.at/APILINK/struct_candera_1_1_resource_data_handle.html "Object that stores information about access to large data buffers.") is available.

<div class="contents" id="bkmrk-"><div class="contents"><div class="textblock">---

</div></div></div>#### Bitmap Resource Objects.

The pixel buffer is stored in the new [ResourceDataHandle](http://dev.doc.cgistudio.at/APILINK/struct_candera_1_1_resource_data_handle.html "Object that stores information about access to large data buffers.") structure. See migration guide for an example on how it can be used.

<div class="contents" id="bkmrk--0"><div class="contents"><div class="textblock">---

</div></div></div>#### Introduce C++ keyword override in Candera

In a method declaration, override specifies that the function must be overriding a base class method.

The keyword override is part of C++ 11 standard and supported by MSVC 11 and gcc 4.7. It helps to prevent unintentional newly created functions, e.g. due to typos, that are intended to override virtual base function.

---