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)
| 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). |
| 260 | func (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 |
no test coverage detected