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

Method ConfigRender

vgpu/system.go:253–255  ·  view source on GitHub ↗

ConfigRender configures the renderpass, including the image format that we're rendering to, for a surface render target, and the depth buffer format (pass UndefType for no depth buffer).

(imgFmt *ImageFormat, depthFmt Types)

Source from the content-addressed store, hash-verified

251// format that we're rendering to, for a surface render target,
252// and the depth buffer format (pass UndefType for no depth buffer).
253func (sy *System) ConfigRender(imgFmt *ImageFormat, depthFmt Types) {
254 sy.Render.Config(sy.Device.Device, imgFmt, depthFmt, false)
255}
256
257// ConfigRenderNonSurface configures the renderpass, including the image
258// format that we're rendering to, for a RenderFrame non-surface target,

Callers 13

mainFunction · 0.95
mainFunction · 0.95
SetRenderMethod · 0.45
ReConfigFramesMethod · 0.45
SetRenderMethod · 0.45
ReConfigFramesMethod · 0.45
ConfigSurfaceMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
SetSystemWindowMethod · 0.45

Calls 1

ConfigMethod · 0.65

Tested by

no test coverage detected