CL_SurfacePriority3
Surface priority class.
Overview
Used by CL_Surface to control the default behavior of the surface. Normally used in video memory management systems.
Class members
- virtual
~CL_SurfacePriority()
- virtual CL_Surface *
manage_surface( -
CL_Surface *surf)
Members with descriptions
- virtual
~CL_SurfacePriority() -
Description:
- virtual CL_Surface *
manage_surface( -
CL_Surface *surf)
Description:
When a CL_SurfacePriority class is set to CL_Surface's priority handler (CL_Surface::set_priority_handler), manage_surface() is called when a surface is created (with CL_Surface::create). The actual surface created is passed as a parameter to manage_surface(), and the CL_Surface pointer returned from manage_surface() is retured from CL_Surface::create(). !param surf - Surface passed from CL_Surface::create().
Return value:
The surface that should be returned by CL_Surface::create().