Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Ult::EffectResource Class Reference

#include <Effect.h>

Public Member Functions

 EffectResource (Effect *effect)
 
virtual ~EffectResource ()
 
EffectGetEffect ()
 

Detailed Description

Wrapper for an Effect instance, for use in a ResourceManager.

Constructor & Destructor Documentation

◆ EffectResource()

Ult::EffectResource::EffectResource ( Effect * effect)
inline

EffectResource constructor with an effect instance. The instance will be freed upon destruction.

◆ ~EffectResource()

virtual Ult::EffectResource::~EffectResource ( )
inlinevirtual

EffectResource destructor. Frees the given effect instance.

Member Function Documentation

◆ GetEffect()

Effect * Ult::EffectResource::GetEffect ( )
inline

Returns the effect instance.


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