IndexRuntime
Runtime

Interaction with Blend2D runtime.

Namespaces

Runtime - Constants

BLRuntimeScope - C API

BLRuntimeLimits : uint32_tenum[¶]

Blend2D runtime limits.

Note
These constants are used across Blend2D, but they are not designed to be ABI stable. New versions of Blend2D can increase certain limits without notice. Use runtime to query the limits dynamically, see BLRuntimeBuildInfo.
ConstantDescription
BL_RUNTIME_MAX_IMAGE_SIZE 

Maximum width and height of an image.

BL_RUNTIME_MAX_THREAD_COUNT 

Maximum number of threads for asynchronous operations (including rendering).

BLRuntimeInfoType : uint32_tenum[¶]

Type of runtime information that can be queried through blRuntimeQueryInfo().

ConstantDescription
BL_RUNTIME_INFO_TYPE_BUILD 

Blend2D build information.

BL_RUNTIME_INFO_TYPE_SYSTEM 

System information (includes CPU architecture, features, core count, etc...).

BL_RUNTIME_INFO_TYPE_RESOURCE 

Resources information (includes Blend2D memory consumption)

BL_RUNTIME_INFO_TYPE_MAX_VALUE 

Count of runtime information types.

BLRuntimeBuildType : uint32_tenum[¶]

Blend2D runtime build type.

ConstantDescription
BL_RUNTIME_BUILD_TYPE_DEBUG 

Describes a Blend2D debug build.

BL_RUNTIME_BUILD_TYPE_RELEASE 

Describes a Blend2D release build.

BLRuntimeCpuArch : uint32_tenum[¶]

CPU architecture that can be queried by BLRuntime::querySystemInfo().

ConstantDescription
BL_RUNTIME_CPU_ARCH_UNKNOWN 

Unknown architecture.

BL_RUNTIME_CPU_ARCH_X86 

32-bit or 64-bit X86 architecture.

BL_RUNTIME_CPU_ARCH_ARM 

32-bit or 64-bit ARM architecture.

BL_RUNTIME_CPU_ARCH_MIPS 

32-bit or 64-bit MIPS architecture.

BLRuntimeCpuFeatures : uint32_tenum[¶]

CPU features Blend2D supports.

BLRuntimeCleanupFlags : uint32_tenum[¶]

Runtime cleanup flags that can be used through BLRuntime::cleanup().

ConstantDescription
BL_RUNTIME_CLEANUP_NO_FLAGS 

No flags.

BL_RUNTIME_CLEANUP_OBJECT_POOL 

Cleanup object memory pool.

BL_RUNTIME_CLEANUP_ZEROED_POOL 

Cleanup zeroed memory pool.

BL_RUNTIME_CLEANUP_THREAD_POOL 

Cleanup thread pool (would join unused threads).

BL_RUNTIME_CLEANUP_EVERYTHING 

Cleanup everything.