PixelLightAPI  .
Public Member Functions
PLRenderer::ResourceHandler Class Reference

Resource handler. More...

#include <ResourceHandler.h>

List of all members.

Public Member Functions

PLRENDERER_API ResourceHandler ()
 Constructor.
PLRENDERER_API ResourceHandler (const ResourceHandler &cSource)
 Copy constructor.
virtual PLRENDERER_API ~ResourceHandler ()
 Destructor.
PLRENDERER_API ResourceHandleroperator= (const ResourceHandler &cSource)
 Copy operator.
ResourceGetResource () const
 Returns the resource handlers resource.
PLRENDERER_API void SetResource (Resource *pResource=nullptr)
 Sets the resource handlers resource.
virtual PLRENDERER_API void OnLost ()
 Is called when the resource was lost.

Detailed Description

Resource handler.


Constructor & Destructor Documentation

Constructor.

Copy constructor.

Parameters:
[in]cSourceSource to copy from
virtual PLRENDERER_API PLRenderer::ResourceHandler::~ResourceHandler ( ) [virtual]

Destructor.


Member Function Documentation

PLRENDERER_API ResourceHandler& PLRenderer::ResourceHandler::operator= ( const ResourceHandler cSource)

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
Reference to this instance

Returns the resource handlers resource.

Returns:
The resource handlers resource, can be a null pointer
PLRENDERER_API void PLRenderer::ResourceHandler::SetResource ( Resource pResource = nullptr)

Sets the resource handlers resource.

Parameters:
[in]pResourceResource to set, can be a null pointer
virtual PLRENDERER_API void PLRenderer::ResourceHandler::OnLost ( ) [virtual]

Is called when the resource was lost.


The documentation for this class was generated from the following files:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:23
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported