Skip to content
Project referenceDevelopmentEngine ccf7d03f

An isolated ImGuizmo recipe consuming an explicitly published and protected ImGui dependency.

Read the linked task or ownership explanation before using the exact API below.

ImGuizmoToolchain.BuildAsync receives the frozen NativeBuildContext and an explicit ImGui NativeBuildProduct. It verifies the component, target and unique link library. It does not reach into another toolchain’s intermediate directory. Each component has its own workspace; the published dependency remains protected until this consumer finishes.

CreateRecipe declares the actual inputs before preparation. Normal product composition owns the preparation order and binding-generation selection; there is no standalone component CLI or public platform-builder hierarchy.

Native preparation supplies frozen sources/tools, cancellation, hashes and atomic publication. Keep input readers alive during compilation, then dispose the returned product only after linking/deployment. Context configuration and root are explicit. Cancellation stops the active process tree, and failure never permits deployment of a missing library or an unrelated installed directory. Changing bindings/upstream inputs requires the relevant generation and target to be rebuilt and validated.

Supply existing live dependencies. This example checks the host contract; it does not initialize a complete product or certify a physical device.

using System.Threading;
using System.Threading.Tasks;
using Inno.Build.Toolchains;
using Inno.Build.Toolchains.ImGuizmo;
static Task<NativeBuildProduct> PrepareGizmoAsync(
NativeBuildContext preparedContext,
NativeBuildProduct imGui,
CancellationToken cancellationToken
) {
return ImGuizmoToolchain.BuildAsync(preparedContext, imGui, cancellationToken);
}

The source project defines the selected host declarations. Script projection and platform execution require their separate evidence.

Types and exact member contracts retain declarations and source XML from the recorded engine capture.