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

Method SetRender

vgpu/surface.go:322–327  ·  view source on GitHub ↗

SetRender sets the Render and updates frames accordingly

(rp *Render)

Source from the content-addressed store, hash-verified

320
321// SetRender sets the Render and updates frames accordingly
322func (sf *Surface) SetRender(rp *Render) {
323 sf.Render = rp
324 for _, fr := range sf.Frames {
325 fr.ConfigRender(rp)
326 }
327}
328
329// ReConfigFrames re-configures the Famebuffers
330// using exiting settings. Assumes ConfigSwapchain has been called.

Callers 11

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
SetSystemWindowMethod · 0.95
SetSystemWindowMethod · 0.95
mainFunction · 0.95
mainFunction · 0.95
ConfigSurfaceMethod · 0.45
ConfigFrameMethod · 0.45
ConfigFrameMethod · 0.45

Calls 1

ConfigRenderMethod · 0.45

Tested by

no test coverage detected