BVB Source Codes

CRYENGINE Show MFXEffectBase.h Source code

Return Download CRYENGINE: download MFXEffectBase.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. // ----------------------------------------------------------------------------------------
  4. //  File name:   MFXEffectBase.h
  5. //  Description: Basic and partial implemenation of IMFXEffect which serves as a base for concrete implementations
  6. //
  7. ////////////////////////////////////////////////////////////////////////////////////////////
  8.  
  9. #ifndef _MFX_EFFECT_BASE_H_
  10. #define _MFX_EFFECT_BASE_H_
  11.  
  12. #pragma once
  13.  
  14. #include <CryCore/CryFlags.h>
  15. #include "IMFXEffect.h"
  16.  
  17. class CMFXEffectBase : public IMFXEffect
  18. {
  19. public:
  20.  
  21.         CMFXEffectBase(const uint16 _typeFilterFlag);
  22.  
  23.         //IMFXEffect (partial implementation)
  24.         virtual void SetCustomParameter(const char* customParameter, const SMFXCustomParamValue& customParameterValue) override;
  25.         virtual void PreLoadAssets() override;
  26.         virtual void ReleasePreLoadAssets() override;
  27.         //~IMFXEffect
  28.  
  29.         bool CanExecute(const SMFXRunTimeEffectParams& params) const;
  30.  
  31. private:
  32.         CCryFlags<uint16> m_runtimeExecutionFilter;
  33. };
  34.  
  35. typedef _smart_ptr<CMFXEffectBase> TMFXEffectBasePtr;
  36.  
  37. #endif // _MFX_EFFECT_BASE_H_
  38.  
downloadMFXEffectBase.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top