Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amengede/wgpu
/ update_surface
Method
update_surface
07-buffer-suballocation/src/main.rs:120–122 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
118
}
119
120
fn update_surface(&mut self) {
121
self.surface = self.instance.create_surface(self.window.render_context()).unwrap();
122
}
123
124
fn render(&mut self) -> Result<(), wgpu::SurfaceError>{
125
Callers
1
run
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected