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

Method ConfigRenderNonSurface

vgpu/system.go:260–262  ·  view source on GitHub ↗

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

(imgFmt *ImageFormat, depthFmt Types)

Source from the content-addressed store, hash-verified

258// format that we're rendering to, for a RenderFrame non-surface target,
259// and the depth buffer format (pass UndefType for no depth buffer).
260func (sy *System) ConfigRenderNonSurface(imgFmt *ImageFormat, depthFmt Types) {
261 sy.Render.Config(sy.Device.Device, imgFmt, depthFmt, true)
262}
263
264// Config configures the entire system, after everything has been
265// setup (Pipelines, Vars, etc). Memory / Values do not yet need to

Callers 3

ConfigFrameMethod · 0.80
mainFunction · 0.80
ConfigFrameMethod · 0.80

Calls 1

ConfigMethod · 0.65

Tested by

no test coverage detected