Skip to main content

Crate molgfx_render

Crate molgfx_render 

Source
Expand description

The render graph, passes and the engine that drives a frame.

Public surface: the engine, its configuration, render targets and typed outcomes. Graph internals, passes, pipelines and culling are not exposed; callers drive rendering entirely through Engine.

Structs§

AdaptiveQuality
Exponentially smoothed frame time with hysteresis over QualityTier.
AdaptiveQualityConfig
Caller policy for the adaptive loop.
AntiAliasingStyle
Anti-aliasing applied to the presented image.
AttributeChunkWindow
Bounded two-frame window for one scene-independent attribute column.
BackdropStyle
Colour shown only where no represented biology contributes a fragment.
BloomStyle
Bright-pass highlight bleed for cinematic presentation.
BondChunkPlacement
Declarative analytic rendering of one resident provider bond chunk.
BrickAtlasConfig
Immutable fixed budgets for one sparse atlas.
BrickAtlasMetrics
Cumulative bounded-working-set telemetry.
BrickAtlasPoll
Work retired by one non-blocking poll.
BrickAtlasUpload
Borrowed provider completion. Exactly four bytes are stored per voxel.
ChunkPlacementId
Caller identity for one independently mutable spatial chunk occurrence. Stable caller identity for one spatial occurrence of a resident chunk.
ChunkResidencyMetrics
Measured storage state for the provider-chunk upload path.
DepthCue
Distance-based atmospheric cue applied in view space after lighting.
DepthOfField
Thin-lens depth-of-field settings for cinematic presentation.
DerivedCacheBudget
Independent hard limits for recomputable CPU and GPU data.
DerivedCacheUsage
Current and peak derived-cache charges.
DisplayTransform
Scene-linear exposure and display grading, independent of the backdrop.
EffectLayer
One weighted module in a reusable render profile.
Engine
The rendering engine, generic over the device with no dynamic dispatch on the frame path.
EngineConfig
Engine construction options.
FrameDegradation
Allocation-free bitset describing explicit realtime degradation.
FrameMetrics
Stable, allocation-free counters captured with a frame report.
FrameReport
Explicit frame status, completeness and degradation report.
FrameTicket
Stable identity and timestamp for one submitted sequence frame.
FrameTiming
One measured frame. GPU time covers the complete scheduled render graph; CPU time covers scene synchronization, graph recording, and submission.
GpuBrickAtlas
Fixed-capacity physical atlas and generational sparse page table.
HdrImage
Tightly packed scene-linear RGBA16F pixels owned by the caller.
IllustrationStyle
Screen-space cues that clarify molecular shape without changing geometry or physical colour mappings.
Image
Mapped, tightly packed RGBA8 image owned by the caller.
ImageConfig
Requested off-screen image dimensions.
ImmutableArenaMetrics
Physical counters for the immutable shared GPU arena.
InstanceChunkPlacement
Declarative analytic rendering of one resident rigid-instance chunk.
InstanceChunkWindow
Bounded two-frame window for one declared rigid-instance occurrence.
LigandPoseStats
Counts from the most recent successful scene synchronization.
LightingEnvironment
Scene-linear lighting sampled by molecular materials.
MotionBlur
Camera-shutter motion blur driven by the renderer’s true object motion.
Pick
A resolved visible entity and its convenient single-atom selection.
PointChunkPlacement
Declarative rendering of one resident generic point chunk.
RelationChunkPlacement
Declarative rendering of one globally anchored resident relation chunk.
RenderProfile
A reusable, declarative recipe for presentation effects.
RenderSession
A reproducible figure/session envelope.
ResidencyConfig
Fixed capacities allocated when a residency workspace is created.
ResidencyCounters
Flat counters consumed by profiling and benchmark reports.
ResidencyMachine
Fixed-capacity state machine with stable slot-order decisions.
ResidencyMachineMetrics
Current machine gauges and cumulative transition counts.
ResidencyMetrics
Snapshot of all residency primitive counters.
ResidencyTicket
Generation-checked handle for one machine slot.
ResidencyWorkspace
Fixed-capacity reusable state for residency planning and command lowering.
ResidentGenericChunk
One generic columnar chunk resident in the shared paged source arena.
ResidentStructureChunk
A globally identified structure chunk with chunk-local GPU ranges.
ResidentTrajectoryChunk
A provider trajectory frame resident in the bounded frame arena.
ResolvedRenderPlan
The compact, sanitized plan the frame loop actually consumes.
SequenceConfig
Fixed output and readback limits for one deterministic frame sequence.
SequenceFrame
One completed, ordered sequence frame.
SequenceRenderer
A bounded sequence pipeline for one engine/backend type.
StructureChunkPlacement
One transform and representation referencing a generation-bearing global ticket.
TrajectoryChunkWindow
Bounded two-frame window for one topology-stable structure chunk.

Enums§

BrickAtlasError
Sparse-atlas validation, capacity and lifecycle failures.
BrickAtlasKind
Physical texel interpretation shared by one atlas.
ChunkPlacementError
Why a declarative placement set could not be accepted.
ChunkPlacementStatus
Current draw eligibility of one declarative placement.
ChunkRepresentation
Renderer-owned representation supported by the paged chunk path.
ChunkResidencyError
Typed failure at the host-to-GPU residency boundary.
DisplayGamut
Display primaries used after the scene-linear presentation transform.
FocusTarget
A physical or scene-tracked focal plane for thin-lens presentation.
FrameCompleteness
Whether every requested resource contributed at full fidelity.
FrameStatus
Presentation result independent of streaming completeness.
PackingError
A source row or compacted offset cannot be represented without aliasing.
PickEntity
The two identity domains that can be visible in a frame.
PresentationEffect
A typed presentation module that a render profile can layer.
QualityTier
Quality tiers from cheapest to richest.
RenderError
Everything that can go wrong constructing or driving the engine.
RenderMode
Which rendering mode the engine runs.
ResidencyInitError
Failure while reserving fixed workspace resources.
ResidencyMachineError
Invalid lifecycle operation or exhausted fixed capacity.
ResidencyState
Lifecycle of one resource moving toward GPU residency.
ToneMapping
Scene-linear exposure and display grading, independent of the backdrop.
TransferFunction
Transfer curve used to encode the selected display gamut.

Constants§

PICK_READBACK_BYTES
Bytes a pick readback resolves: one field per identity domain.