$ rezi
Protocol

ABI Pins

The following exported constants from @rezi-ui/core must stay aligned with the engine pins.

The following exported constants from @rezi-ui/core must stay aligned with the engine pins.

Version Pins

ConstantValueNotes
ZR_ENGINE_ABI_MAJOR1Engine ABI major
ZR_ENGINE_ABI_MINOR2Engine ABI minor
ZR_ENGINE_ABI_PATCH0Engine ABI patch
ZR_DRAWLIST_VERSION_V11ZRDL v1
ZR_EVENT_BATCH_VERSION_V11ZREV v1
ZR_UNICODE_VERSION_MAJOR15Unicode major
ZR_UNICODE_VERSION_MINOR1Unicode minor
ZR_UNICODE_VERSION_PATCH0Unicode patch

Magic Values

ConstantValueMeaning
ZRDL_MAGIC0x4c44525aZRDL
ZREV_MAGIC0x5645525aZREV

Drawlist Version Rule

Rezi currently exports and emits drawlist v1. The engine-side pins additionally accept ZR_DRAWLIST_VERSION_V2 for native validation.

Result Codes

Engine calls return ZrResult:

  • OK = 0
  • ERR_INVALID_ARGUMENT = -1
  • ERR_OOM = -2
  • ERR_LIMIT = -3
  • ERR_UNSUPPORTED = -4
  • ERR_FORMAT = -5
  • ERR_PLATFORM = -6

On this page