[][src]Function ul_sys::ulConfigSetUseGPURenderer

pub unsafe extern "C" fn ulConfigSetUseGPURenderer(
    config: ULConfig,
    use_gpu: bool
)

When enabled, each View will be rendered to an offscreen GPU texture using the GPU driver set in ulPlatformSetGPUDriver. You can fetch details for the texture via ulViewGetRenderTarget.

When disabled (the default), each View will be rendered to an offscreen pixel buffer. This pixel buffer can optionally be provided by the user-- for more info see ulViewGetSurface.