MCPcopy Create free account
hub / github.com/cogentcore/core / ReConfigFrames

Method ReConfigFrames

vgpu/surface.go:331–335  ·  view source on GitHub ↗

ReConfigFrames re-configures the Famebuffers using exiting settings. Assumes ConfigSwapchain has been called.

()

Source from the content-addressed store, hash-verified

329// ReConfigFrames re-configures the Famebuffers
330// using exiting settings. Assumes ConfigSwapchain has been called.
331func (sf *Surface) ReConfigFrames() {
332 for _, fr := range sf.Frames {
333 fr.ConfigRender(sf.Render)
334 }
335}
336
337func (sf *Surface) Destroy() {
338 sf.FreeSwapchain()

Callers 2

ReConfigSwapchainMethod · 0.95
AcquireNextImageMethod · 0.95

Calls 1

ConfigRenderMethod · 0.45

Tested by

no test coverage detected