file
Resource.hClass Corrade::
Namespaces
- namespace Corrade
- Root namespace.
- namespace Corrade::Utility
- Utilities.
Classes
- class Corrade::Utility::Resource
- Access to compiled-in resources.
Defines
- #define CORRADE_RESOURCE_INITIALIZE(name)
- Initialize a resource.
- #define CORRADE_RESOURCE_FINALIZE(name)
- Finalize a resource.
Define documentation
#define CORRADE_RESOURCE_INITIALIZE(name)
Initialize a resource.
If a resource is compiled into a dynamic library or directly into the executable, it will be registered automatically thanks to the CORRADE_main()
, otherwise it won't be known to Utility::
Functions called by this macro don't do any dynamic allocation or other operations that could fail, so it's safe to call it even in restricted phases of application execution. It's also safe to call this macro more than once.
#define CORRADE_RESOURCE_FINALIZE(name)
Finalize a resource.
De-registers resource previously (even automatically) initialized via CORRADE_
Functions called by this macro don't do any dynamic allocation or other operations that could fail, so it's safe to call it even in restricted phases of application execution. It's also safe to call this macro more than once.