You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, can you please initialize all fields in structs to null or default value in constructor, otherwise we need to do it on client side and it complicates the code. That's only a case for structs in .hpp files, for structs in .h we can use initializer list.
For example if we need to disable frame generation, typically we need to initialize only ffx::ConfigureDescFrameGeneration.swapChain field. Other fields should be 0 or false. But it's not the case, and we end up having trash in all fields.
Hello, can you please initialize all fields in structs to null or default value in constructor, otherwise we need to do it on client side and it complicates the code. That's only a case for structs in .hpp files, for structs in .h we can use initializer list.
For example if we need to disable frame generation, typically we need to initialize only ffx::ConfigureDescFrameGeneration.swapChain field. Other fields should be 0 or false. But it's not the case, and we end up having trash in all fields.
FidelityFX-SDK/ffx-api/include/ffx_api/ffx_framegeneration.hpp
Line 41 in 1bbe66e
The text was updated successfully, but these errors were encountered: