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

Method surface_format

native/shared/src/renderer/mod.rs:12891–12893  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

12889 }
12890
12891 pub fn surface_format(&self) -> wgpu::TextureFormat {
12892 self.surface_config.format
12893 }
12894
12895 /// Capture the current framebuffer as RGBA pixels.
12896 /// Returns (width, height, rgba_data). Call after end_frame.

Callers 5

bloom_enable_postfxFunction · 0.80
bloom_enable_postfxFunction · 0.80
bloom_enable_postfxFunction · 0.80
bloom_enable_postfxFunction · 0.80
bloom_enable_postfxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected