Skip to main content

Module config

Module config 

Source

Functions§

atlas_disabled
Whether atlas allocation is disabled via FRUST_ENGINE_NO_ATLAS. Cached: read once per process.
atlas_size
Atlas size via FRUST_ENGINE_ATLAS_SIZE=<WxH> (e.g., “2048x2048”). Parsed as (width, height) or returns None if not set or invalid. Cached: read once per process.
depth_disabled
Whether depth textures are disabled via FRUST_ENGINE_NO_DEPTH. Cached: read once per process.
downlevel_mode
Downlevel mode via FRUST_ENGINE_DOWNLEVEL=1. Cached: read once per process.
glyph_quads_disabled
Whether glyph quads are disabled via FRUST_ENGINE_NO_GLYPH_QUADS. Cached: read once per process.
glyph_run_cache_disabled
Whether the resident glyph-run cache is disabled via FRUST_ENGINE_NO_GLYPH_RUN_CACHE. Cached: read once per process.
image_sampler_enabled
Whether Medium-quality atlas images are filtered through the hardware sampler — on unless FRUST_ENGINE_IMAGE_SAMPLER=0 (or false) says otherwise. Cached: read once per process.
layers_disabled
Whether layer caching is disabled via FRUST_ENGINE_NO_LAYERS. Cached: read once per process.
max_texture_size
Maximum texture resolution (each axis) via FRUST_ENGINE_MAX_TEX=<n>. Parsed as an integer; defaults to 0 (no limit). Cached: read once per process.
parallel_min_cost
The estimated cost a frame’s planned strip generation must reach before a helper thread is spawned for it, via FRUST_ENGINE_PARALLEL_MIN_COST=<n>; None when unset or unparsable, which leaves crate::compile::DEFAULT_PARALLEL_MIN_COST. Cached: read once per process.
parallel_walk_disabled
Whether parallel strip generation is disabled via FRUST_ENGINE_NO_PARALLEL. Cached: read once per process.
parallel_workers
The number of threads a frame’s strips are generated on, the calling thread included, via FRUST_ENGINE_PARALLEL_WORKERS=<n>; None when unset or unparsable, which leaves the compiler’s own default. Cached: read once per process.
pass_merge_disabled
Whether the frame’s surface opening stays three passes of its own via FRUST_ENGINE_NO_PASS_MERGE. Cached: read once per process.
pool_disabled
Whether resource pooling is disabled via FRUST_ENGINE_NO_POOL. Cached: read once per process.
retained_budget_mb
The retained-page budget in MiB via FRUST_ENGINE_RETAINED_BUDGET_MB=<n>, overriding the adapter tier’s own (see RetainedBudget::for_caps). None when unset, empty or not a whole number; Some(0) is a budget no page fits in, which refuses every bracket and retains nothing. Cached: read once per process.
run_split_min
The shortest class run worth a pipeline switch of its own, via FRUST_ENGINE_RUN_SPLIT_MIN=<n>; crate::gpu::strips::RUN_SPLIT_MIN when unset or unparsable. Cached: read once per process.
shader_effects_disabled
Whether offscreen fragment-shader effects are disabled via FRUST_ENGINE_NO_SHADER_EFFECTS. Cached: read once per process.
uber_program_forced
Whether every strip run is forced through the whole (Uber) strip program via FRUST_ENGINE_UBER_PROGRAM. Cached: read once per process.