BVB Source Codes

CRYENGINE Show IMFXEffect.h Source code

Return Download CRYENGINE: download IMFXEffect.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:   IMFXEffect.h
  5. //  Version:     v1.00
  6. //  Created:     28/11/2006 by JohnN/AlexL
  7. //  Compilers:   Visual Studio.NET
  8. //  Description: Virtual base class for all derived effects
  9. // -------------------------------------------------------------------------
  10. //  History:
  11. //
  12. ////////////////////////////////////////////////////////////////////////////
  13. #ifndef __IMFXEFFECT_H__
  14. #define __IMFXEFFECT_H__
  15.  
  16. #pragma once
  17.  
  18. #include <CryAction/IMaterialEffects.h>
  19.  
  20. typedef string TMFXNameId; // we use strings, and with clever assigning we minimize duplicates
  21.  
  22. struct IMFXEffect : public _reference_target_t
  23. {
  24.         virtual ~IMFXEffect() {};
  25.  
  26.         virtual void Execute(const SMFXRunTimeEffectParams& params) = 0;
  27.         virtual void LoadParamsFromXml(const XmlNodeRef& paramsNode) = 0;
  28.         virtual void SetCustomParameter(const char* customParameter, const SMFXCustomParamValue& customParameterValue) = 0;
  29.         virtual void GetResources(SMFXResourceList& resourceList) const = 0;
  30.         virtual void PreLoadAssets() = 0;
  31.         virtual void ReleasePreLoadAssets() = 0;
  32.         virtual void GetMemoryUsage(ICrySizer* pSizer) const = 0;
  33. };
  34.  
  35. #endif
  36.  
downloadIMFXEffect.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