Expand description
aexlo - After Effects Plugin(.aex) Loader and Emulator
This crate provides functionality to load and execute After Effects plugins (.aex) outside of After Effects, enabling testing, automation, and custom rendering pipelines.
§Example
use aexlo::{Depth8, Host, Layer, ParamValue, Time};
// Fix the host services first (`Host::install(my_app_host)?` to customize).
let host = Host::get();
// Load the plugin and run GLOBAL_SETUP, PARAMS_SETUP and SEQUENCE_SETUP.
// On Windows pass the `.aex` file, on macOS the `.plugin` bundle.
let mut fx = host.load("MyEffect.aex")?;
println!("{}", fx.about()?);
// Feed an input frame and set parameters (index 0 is the input layer).
fx.set_input_layer(Layer::<Depth8>::black(1920, 1080));
fx.set_param(1, ParamValue::Float(0.5))?;
fx.set_time(Time::frame(0, 30));
// Render the way After Effects picks the path: GPU, smart, then legacy.
fx.render_frame()?;
let output: Layer<Depth8> = fx.read_output()?;§Trust and process model
A plugin is native code, loaded into this process with no sandbox. Loading
one is what this crate is for, so Host::load and Loader::load are
safe functions, the way spawning a process is: what the plugin’s code does
is outside Rust’s guarantees. A buggy plugin can corrupt memory, crash or
abort the process that embeds aexlo, so only load plugins you trust.
aexlo’s own callbacks catch their panics and report
PF_Err_INTERNAL_STRUCT_DAMAGED to the plugin rather than letting them
abort the process, but a crash inside the plugin cannot be caught
in-process. When a crashing plugin must not take the application down, run
it in a worker process, as the aexlo CLI and its toolkit do for every
variant.
§Process-wide state
Some host state belongs to the process, not to a PluginInstance:
- The
AppHostis fixed once per process (Host::installorHost::get) and cannot be swapped afterwards, even between tests. - AEGP Persistent Data (preferences) is one in-memory store shared by every plugin and instance, and is never written to disk.
- AEGP registrations, GPU worlds and allocation tracking live in process-wide registries keyed by instance, so instances coexist.
§Threads
PluginInstance is neither Send nor Sync. After Effects drives an
effect instance from one thread at a time, and plugins keep thread-affine
state (GPU contexts, Windows HWNDs, thread-local storage), so create, use
and drop each instance on the same thread. To render off a UI thread,
create the instance on a worker thread and send that thread commands.
fn assert_send<T: Send>() {}
assert_send::<aexlo::PluginInstance>();Separate instances may run on separate threads at once: aexlo’s
process-wide state is behind locks, and its own test suites run instances
in parallel. Whether a plugin’s globals tolerate that is up to the plugin
(it declares OutFlags2::SUPPORTS_THREADED_RENDERING when they do).
§Features
diagnostics- Print every suite call the plugin makes, with its arguments, to stdout
Modules§
- sys
- The After Effects SDK bindings this crate is built against, with one type per enum constant on every OS.
Structs§
- Allocation
Event - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). The plugin got memory from the host or gave it back. Reported whether or notStrict::track_allocationsis on. - AppColor
- Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
A 16-bit-per-channel UI color, as reported by
PF_AppGetBgColor/PF_AppGetColor. - AppPixel8
- Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
An 8-bit straight color, as passed to
PF_InfoDrawColor. - AppPixelF
- Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. A straight float color, as used by the color picker and eyedropper.
- AppPoint
- Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. A point in panel-local or screen coordinates.
- Checkout
Event - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). A smart-render checkout or checkin. Reported whether or notStrict::track_checkoutsis on. - Checkout
Violation - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). A smart-render checkout rule broken. - Command
Event - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). A command sent to the plugin’s entry point. - Custom
Control Event - What a custom-control click or drag asked the host to do next.
- Custom
Control Image - Straight RGBA image of one custom-UI control after
PF_Event_DRAW. - Depth8
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. 8 bits per channel:u8channels. - Depth16
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. 16 bits per channel:u16channels in0..=32768. - Depth32
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. 32 bits per channel:f32channels,1.0being full intensity. - Effect
Version - The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
An effect’s version as
PF_VERSIONpacks it: in the PiPL’seVERand inPF_OutData::my_versionatPF_Cmd_GLOBAL_SETUP. - Font
Info - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
A UI font returned by
PF_GetFontStyleSheet.nameis truncated to the SDK’s 255-byte limit. - Guard
Violation - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). A guard band around a host world was overwritten. - Headless
AppHost - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
The default
AppHost: no UI, every query answers a neutral value and every UI action is a no-op. - Host
- Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Proof that the process-wide
AppHosthas been fixed. - Info
Line - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
One line of the Info panel.
PF_InfoDrawText/PF_InfoDrawText3only fillleft;PF_InfoDrawText3Plussplits lines 2 and 3 into a left-justified and a right-justified part. - Instance
State - A snapshot of an instance’s host-side state, from
PluginInstance::state. - Layer
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. A 2D raster ofPixel<D>stored in row-major order. - Leak
- Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). A handle or world still alive when its scope ended. - Live
Allocation - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). A host allocation the plugin still holds, as listed byPluginInstance::allocations. - Loader
- Options for loading a plugin, applied before its first command runs.
- LogObserver
- Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). AnObserverthat logs every event atdebuglevel through thelogcrate: the command trace thediagnosticsfeature prints, without rebuilding. - Mask
Path - Layer masks served through the Path Query/Data suites
(
PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). A mask path on the effect’s layer. - Mask
Vertex - Layer masks served through the Path Query/Data suites
(
PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). One Bezier vertex of a mask, in layer pixel coordinates. The tangents are relative to the vertex, as inAEGP_MaskVertex: the curve leaves the vertex toward(x + tan_out_x, y + tan_out_y)and arrives from(x + tan_in_x, y + tan_in_y). Zero tangents give straight segments. - OutFlags
- Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
PF_OutFlags: what an effect declares atPF_Cmd_GLOBAL_SETUP(PluginInstance::out_flags). - OutFlags2
- Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
PF_OutFlags2: the second set of flags an effect declares atPF_Cmd_GLOBAL_SETUP(PluginInstance::out_flags2). - Overlay
Theme - Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Injectable host-application services (App, Adv App/Item/Time, Plugin Helper and Custom UI Overlay Theme suites): UI colors, fonts, language, color picker, progress dialogs, Info panel, time display, tools, … Headless by default. Colors and metrics custom UIs should draw overlays with, reported by the “PF Effect Custom UI Overlay Theme Suite”.
- Param
UiFlags - Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
PF_ParamUIFlags(PF_PUI_*): how a parameter is shown (PluginInstance::param_ui_flags). - Personal
Info - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Registered-user strings returned by
PF_GetPersonalInfo. Each string is truncated to the SDK’s 63-byte limit. - Pipl
- The PiPL resource: what After Effects reads from a plugin before loading it. The PiPL resource: what After Effects reads from a plugin before loading it. The PiPL resource: what After Effects reads from a plugin before loading it. A plugin’s PiPL resource.
- Pipl
Property - The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
One property of a
Pipl: a vendor, a key and its data. - Pixel
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. A single ARGB pixel parameterized over its channel depth. - Pixel
Format - Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
Typed flags and pixel formats a plugin declares.
A pixel format FourCC (
PF_PixelFormat/PrPixelFormat) a plugin registered through the “PF Pixel Format Suite” (PluginInstance::supported_pixel_formats). - Plugin
Instance - Independent instance of an After Effects Plug-in.
It is created by loading a plug-in with
Host::loador by driving an in-process entry point withHost::from_entry. Manages its library, entry point, parameters, and execution state. All operations related to the plug-in should be invoked from this. - Progress
Id - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Opaque id of a progress dialog opened through
AppHost::progress_begin. - Strict
- Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Which strict-mode instrumentation an instance runs. All off by default, in which case the host’s allocation paths and costs are unchanged. - Strict
Report - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). What strict mode found since the lastPluginInstance::strict_report. - Suite
Call Event - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). A host suite function the plugin called. - Text
Layer - Text on the effect’s layer, served through the Text Layer Suite
(
PluginInstance::set_text_layer). Text on the effect’s layer, served through the Text Layer Suite (PluginInstance::set_text_layer). Text on the effect’s layer, served through the Text Layer Suite (PluginInstance::set_text_layer). The text on the effect’s layer, as closed glyph outlines in layer pixels. - Text
Style - Text on the effect’s layer, served through the Text Layer Suite
(
PluginInstance::set_text_layer). Text on the effect’s layer, served through the Text Layer Suite (PluginInstance::set_text_layer). Text on the effect’s layer, served through the Text Layer Suite (PluginInstance::set_text_layer). HowTextLayer::layoutsets a string. - Time
- A point in comp time:
value / scaleseconds, one frame lastingstep / scaleseconds. These arein_data.current_time,time_stepandtime_scaleas the plugin sees them. - Time
Display Pref - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Time display preferences reported by
PF_GetTimeDisplayPrefand used by aexlo to format times forPF_FormatTime*. - Unsupported
Event - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). The plugin asked for something aexlo does not do: what a plugin that runs but renders wrong (or not at all) most often hit. Reported at everyObserveLevel, for calls made on the thread that dispatched the command.
Enums§
- Aexlo
Error - The main error type for crate’s operations.
- Allocation
Kind - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). What kind of host memory anAllocationEventis about. - AnyLayer
- Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. ALayerof any depth, for code that picks the depth at run time. - Checkout
Kind - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Which checkout call aCheckoutEventreports. - Command
Phase - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Whether aCommandEventmarks the start or the end of a command. - Layer
Error - Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. An error building aLayeror copying its pixels. - Mask
Mode - Layer masks served through the Path Query/Data suites
(
PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). Layer masks served through the Path Query/Data suites (PluginInstance::set_mask_paths). How a mask combines with the others (PF_MaskMode_*). This represents thePF_MaskModeenum in the After Effects SDK. - Observe
Level - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). How much anObserveris told. - Param
Kind - The declared type of a plugin parameter (
PF_ParamType), including the kindsParamValuedoes not carry a value for (layers, groups, buttons, arbitrary data, …). SeePluginInstance::param_kind. - Param
Value - A parameter value for an After Effects plugin.
- Pipl
Value - The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
A property’s data, decoded by what its key means (see
PiplProperty::value). - Pixel
Depth Kind - Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. The channel depth of a pixel buffer, as a value (seePixelDepth::KIND). - Render
Path - The command path
PluginInstance::render_withrenders a frame through. - Stage
- The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
The PiPL resource: what After Effects reads from a plugin before loading it.
The release stage of an
EffectVersion(PF_Stage_*). - Time
Display Mode - Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
How the host displays time (
PF_TimeDisplayFormat*). - Unsupported
Kind - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). What kind of gap in aexlo anUnsupportedEventreports.
Constants§
- POISON_
BYTE - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). The 8 and 16 bpc output poison: every byte of the pixel is0xCD. - POISON_
F32_ BITS - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). The 32 bpc output poison: a signalling NaN with a recognizable payload.
Traits§
- AppHost
- Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Injectable host-application services (App, Adv App/Item/Time, Plugin
Helper and Custom UI Overlay Theme suites): UI colors, fonts, language,
color picker, progress dialogs, Info panel, time display, tools, …
Headless by default.
Host-application services queried through the App, Adv App, Adv Item, Adv
Time, Plugin Helper and Custom UI Overlay Theme suites, and the
PF_ABORT/PF_PROGRESSinteract callbacks. - Observer
- Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Receives events from aPluginInstance. Every method has an empty default, so implement only what you need. - Pixel
Depth - Safe pixel/layer wrappers, re-exported explicitly so additions to the
pixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. Safe pixel/layer wrappers, re-exported explicitly so additions to thepixelmodule don’t silently widen this crate’s public API. A channel depth at the type level:Depth8,Depth16orDepth32.PixelandLayerare generic over it.
Functions§
- command_
name - Observation hooks (
PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). Observation hooks (PluginInstance::set_observer). The SDK name of aPF_Cmd_*value, without itsPF_Cmd_prefix. - gpu_
device_ name - The GPU this host renders on, for machine fingerprints.
The name of the GPU this host renders on, when it can tell without
creating a render context: the default Metal device on macOS.
Noneelsewhere or without a GPU. - is_
unwritten - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Whether the pixel at linearindexstill holds the output poison. - set_
main_ ⚠window - Window plugins should treat as After Effects’ main window
(
PF_PlatData_MAIN_WND). - unwritten_
pixels - Strict mode (
PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). Strict mode (PluginInstance::set_strict). How many pixels of a poisoned output the plugin left unwritten.
Type Aliases§
- Plugin
Entry Point - Entry point ABI for driving an in-process effect via
Host::from_entry. ABI of an After Effects effect entry point (EffectMain): the fixed(cmd, in_data, out_data, params, output, extra)signature every effect exports. Handed toHost::from_entryto drive an in-process effect withoutdlopen. - Result
- A specialized Result type for aexlo operations.