Function ul_sys::ulViewConfigSetIsAccelerated[][src]

pub unsafe extern "C" fn ulViewConfigSetIsAccelerated(
    config: ULViewConfig,
    is_accelerated: bool
)
Expand description

When enabled, the 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), the View will be rendered to an offscreen pixel buffer surface. This pixel buffer can optionally be provided by the user– for more info see ulViewGetSurface.