arsa  2.7
Public Member Functions | List of all members
Effekseer::EffectFactory Class Reference

A class to edit an instance of EffectParameter for supporting original format when a binary is loaded. More...

#include <Effekseer.h>

Inheritance diagram for Effekseer::EffectFactory:
Effekseer::ReferenceObject Effekseer::IReference

Public Member Functions

 EffectFactory ()
 
virtual ~EffectFactory ()
 
bool LoadBody (Effect *effect, const void *data, int32_t size, float magnification, const EFK_CHAR *materialPath)
 load body data(parameters of effect) from a binary More...
 
void SetTexture (Effect *effect, int32_t index, TextureType type, TextureData *data)
 set texture data into specified index More...
 
void SetSound (Effect *effect, int32_t index, void *data)
 set sound data into specified index More...
 
void SetModel (Effect *effect, int32_t index, void *data)
 set model data into specified index More...
 
void SetMaterial (Effect *effect, int32_t index, MaterialData *data)
 set material data into specified index More...
 
void SetLoadingParameter (Effect *effect, ReferenceObject *obj)
 set loading data More...
 
virtual bool OnCheckIsBinarySupported (const void *data, int32_t size)
 this method is called to check whether loaded binary are supported. More...
 
virtual bool OnCheckIsReloadSupported ()
 this method is called to check whether reloading are supported. More...
 
virtual bool OnLoading (Effect *effect, const void *data, int32_t size, float magnification, const EFK_CHAR *materialPath)
 this method is called when load a effect from binary More...
 
virtual void OnLoadingResource (Effect *effect, const void *data, int32_t size, const EFK_CHAR *materialPath)
 this method is called when load resources More...
 
virtual void OnUnloadingResource (Effect *effect)
 this method is called when unload resources More...
 
virtual const char * GetName () const
 
virtual bool GetIsResourcesLoadedAutomatically () const
 
- Public Member Functions inherited from Effekseer::ReferenceObject
 ReferenceObject ()
 
virtual ~ReferenceObject ()
 
virtual int AddRef ()
 参照カウンタを加算する。 More...
 
virtual int GetRef ()
 参照カウンタを取得する。 More...
 
virtual int Release ()
 参照カウンタを減算する。0になった時、インスタンスを削除する。 More...
 

Detailed Description

A class to edit an instance of EffectParameter for supporting original format when a binary is loaded.

Definition at line 1695 of file Effekseer.h.

Constructor & Destructor Documentation

◆ EffectFactory()

Effekseer::EffectFactory::EffectFactory ( )

◆ ~EffectFactory()

virtual Effekseer::EffectFactory::~EffectFactory ( )
virtual

Member Function Documentation

◆ GetIsResourcesLoadedAutomatically()

virtual bool Effekseer::EffectFactory::GetIsResourcesLoadedAutomatically ( ) const
virtual

get whether resources are loaded automatically when a binary is loaded

◆ GetName()

virtual const char* Effekseer::EffectFactory::GetName ( ) const
virtual

get factory's name

◆ LoadBody()

bool Effekseer::EffectFactory::LoadBody ( Effect effect,
const void data,
int32_t  size,
float  magnification,
const EFK_CHAR materialPath 
)

load body data(parameters of effect) from a binary

◆ OnCheckIsBinarySupported()

virtual bool Effekseer::EffectFactory::OnCheckIsBinarySupported ( const void data,
int32_t  size 
)
virtual

this method is called to check whether loaded binary are supported.

◆ OnCheckIsReloadSupported()

virtual bool Effekseer::EffectFactory::OnCheckIsReloadSupported ( )
virtual

this method is called to check whether reloading are supported.

◆ OnLoading()

virtual bool Effekseer::EffectFactory::OnLoading ( Effect effect,
const void data,
int32_t  size,
float  magnification,
const EFK_CHAR materialPath 
)
virtual

this method is called when load a effect from binary

◆ OnLoadingResource()

virtual void Effekseer::EffectFactory::OnLoadingResource ( Effect effect,
const void data,
int32_t  size,
const EFK_CHAR materialPath 
)
virtual

this method is called when load resources

◆ OnUnloadingResource()

virtual void Effekseer::EffectFactory::OnUnloadingResource ( Effect effect)
virtual

this method is called when unload resources

◆ SetLoadingParameter()

void Effekseer::EffectFactory::SetLoadingParameter ( Effect effect,
ReferenceObject obj 
)

set loading data

◆ SetMaterial()

void Effekseer::EffectFactory::SetMaterial ( Effect effect,
int32_t  index,
MaterialData data 
)

set material data into specified index

◆ SetModel()

void Effekseer::EffectFactory::SetModel ( Effect effect,
int32_t  index,
void data 
)

set model data into specified index

◆ SetSound()

void Effekseer::EffectFactory::SetSound ( Effect effect,
int32_t  index,
void data 
)

set sound data into specified index

◆ SetTexture()

void Effekseer::EffectFactory::SetTexture ( Effect effect,
int32_t  index,
TextureType  type,
TextureData data 
)

set texture data into specified index


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