MCPcopy Create free account
hub / github.com/DioxusLabs/anyrender / IntermediateTextureStuff

Class IntermediateTextureStuff

crates/wgpu_context/src/surface_renderer.rs:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 /// If this is not the same size as the underlying surface (e.g. if it is
72 /// set once, and the window is later resized), the behaviour is defined
73 /// but platform-specific, and may change in the future (currently macOS
74 /// scales the surface, other platforms may do something else).
75 pub height: u32,
76 /// Presentation mode of the swap chain. Fifo is the only mode guaranteed to be supported.
77 /// `FifoRelaxed`, `Immediate`, and `Mailbox` will crash if unsupported, while `AutoVsync` and
78 /// `AutoNoVsync` will gracefully do a designed sets of fallbacks if their primary modes are
79 /// unsupported.
80 pub present_mode: PresentMode,
81 /// Desired maximum number of frames that the presentation engine should queue in advance.
82 ///
83 /// This is a hint to the backend implementation and will always be clamped to the supported range.
84 /// As a consequence, either the maximum frame latency is set directly on the swap chain,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected