mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
requirements for postfx
update to handle posteffects with image_asset_refactor
This commit is contained in:
parent
e1a2a6d9f9
commit
d86962d1fd
5 changed files with 42 additions and 39 deletions
|
|
@ -90,9 +90,9 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
DECLARE_IMAGEASSET_ARRAY(PostEffect, Texture, NumTextures, onTextureChanged);
|
||||
DECLARE_IMAGEASSET_ARRAY_SETGET(PostEffect, Texture);
|
||||
void onTextureChanged() {}
|
||||
DECLARE_IMAGEASSET_ARRAY_REFACTOR(PostEffect, Texture, GFXStaticTextureSRGBProfile, NumTextures);
|
||||
GFXTextureProfile* mTextureProfile[NumTextures];
|
||||
GFXTexHandle mTexture[NumTextures];
|
||||
|
||||
bool mTexSRGB[NumTextures];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue