IAssetsBlob#

Fully qualified name: carb::assets::IAssetsBlob

Defined in carb/assets/IAssetsBlob.h

struct 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.

Param blob:

The blob to use.

Return:

The blob byte data.

size_t (*getBlobSize)(Blob *blob)#

Gets the size of the blob in bytes.

Param blob:

The blob to use.

Return:

The size of the blob in bytes.

Public Static Functions

static inline constexpr carb::InterfaceDesc getInterfaceDesc(
) noexcept#

Returns information about this interface.

Auto-generated by CARB_PLUGIN_INTERFACE() or CARB_PLUGIN_INTERFACE_EX.

Returns:

The carb::InterfaceDesc struct with information about this interface.

static inline constexpr carb::InterfaceDesc getLatestInterfaceDesc(
) noexcept#

Returns information about the latest version of this interface.

Auto-generated by CARB_PLUGIN_INTERFACE() or CARB_PLUGIN_INTERFACE_EX.

Returns:

The carb::InterfaceDesc struct with information about the latest version of this interface.