molgfx-render 0.2.0

The render graph, passes and the engine that drives a frame.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::{ChunkPlacementId, ChunkRepresentation};
use molgfx_core::ResidencyTicket;
use molgfx_math::Mat4;

/// One transform and representation referencing a generation-bearing global ticket.
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct StructureChunkPlacement {
    /// Stable placement identity.
    pub id: ChunkPlacementId,
    /// Exact resident chunk generation to draw.
    pub ticket: ResidencyTicket,
    /// Dataset-local coordinates to world space.
    pub model_to_world: Mat4,
    /// Declarative rendering recipe.
    pub representation: ChunkRepresentation,
}