MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / view

Method view

native/shared/src/renderer/transient.rs:230–232  ·  view source on GitHub ↗

Get the default view for a transient.

(&self, id: TransientId)

Source from the content-addressed store, hash-verified

228
229 /// Get the default view for a transient.
230 pub fn view(&self, id: TransientId) -> Option<&wgpu::TextureView> {
231 self.slots.iter().find(|s| s.id == id.0).map(|s| &s.view)
232 }
233
234 /// Frame-end book-keeping. Currently does nothing because
235 /// `acquire` / `release` are the only lifecycle points; kept as

Callers 4

read_accessor_f32Function · 0.80
load_gltf_with_texturesFunction · 0.80
load_gltf_stagedFunction · 0.80
end_frame_with_sceneMethod · 0.80

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected