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()

  • Returns information about this interface. Auto-generated by CARB_PLUGIN_INTERFACE(). *

Returns

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