Function bgfx_sys::bgfx_encoder_touch[][src]

pub unsafe extern "C" fn bgfx_encoder_touch(
    _this: *mut bgfx_encoder_t,
    _id: bgfx_view_id_t
)
Expand description

Submit an empty primitive for rendering. Uniforms and draw state will be applied but no geometry will be submitted. Useful in cases when no other draw/compute primitive is submitted to view, but it’s desired to execute clear view. @remark These empty draw calls will sort before ordinary draw calls.

@param[in] _id View id.