mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Certain plugins were not playing nice on the directx end with updating rendertargets. Provides a profile for targets intended to be continuously updated.
This commit is contained in:
parent
ae9cb0533a
commit
4b1895cba5
2 changed files with 6 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ GFX_ImplementTextureProfile(GFXDefaultZTargetProfile,
|
||||||
GFXTextureProfile::DiffuseMap,
|
GFXTextureProfile::DiffuseMap,
|
||||||
GFXTextureProfile::PreserveSize | GFXTextureProfile::NoMipmap | GFXTextureProfile::ZTarget | GFXTextureProfile::NoDiscard,
|
GFXTextureProfile::PreserveSize | GFXTextureProfile::NoMipmap | GFXTextureProfile::ZTarget | GFXTextureProfile::NoDiscard,
|
||||||
GFXTextureProfile::NONE);
|
GFXTextureProfile::NONE);
|
||||||
|
GFX_ImplementTextureProfile(GFXDynamicTextureProfile,
|
||||||
|
GFXTextureProfile::DiffuseMap,
|
||||||
|
GFXTextureProfile::Dynamic,
|
||||||
|
GFXTextureProfile::NONE);
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -215,5 +215,7 @@ GFX_DeclareTextureProfile(GFXDefaultStaticDXT5nmProfile);
|
||||||
GFX_DeclareTextureProfile(GFXSystemMemProfile);
|
GFX_DeclareTextureProfile(GFXSystemMemProfile);
|
||||||
// Depth buffer texture
|
// Depth buffer texture
|
||||||
GFX_DeclareTextureProfile(GFXDefaultZTargetProfile);
|
GFX_DeclareTextureProfile(GFXDefaultZTargetProfile);
|
||||||
|
// Dynamic Texure
|
||||||
|
GFX_DeclareTextureProfile(GFXDynamicTextureProfile);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue