ClanSoft logo
ClanSoft logo

    CL_Surface::create_dynamic

Syntax

static CL_Surface *create_dynamic(
         CL_SurfaceProvider *provider,
        bool delete_provider=false);

Parameters

provider-Image source.
delete_provider-If true, the surface will delete the provider when deleted itself.

Return value

The surface created.

Description

This function creates a CL_Surface instance being blitted by the dynamic (non caching) blitter.You don't need to call reload with dynamic surfaces as they do that by themselves.


Back to index



This page was built using the Perceps documentation system.