carb::assets::IAssetsBlob¶
Defined in carb/assets/IAssetsBlob.h
-
struct
carb::assets
::
IAssetsBlob
¶ Defines an interface for managing assets that are loaded asynchronously.
Public Members
-
const uint8_t *(*
getBlobData
)(Blob *blob)¶ Gets the data from a blob.
- Parameters
blob – The blob to use.
- Returns
The blob byte data.
-
size_t (*
getBlobSize
)(Blob *blob)¶ Gets the size of the blob in bytes.
- Parameters
blob – The blob to use.
- Returns
The size of the blob in bytes.
Public Static Functions
-
static inline carb::InterfaceDesc
getInterfaceDesc
()¶ Returns information about this interface. Auto-generated by CARB_PLUGIN_INTERFACE(). *
- Returns
The carb::InterfaceDesc struct with information about this interface.
-
const uint8_t *(*