mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-10 06:36:14 +01:00
Added optional forceSRGB parameter to SaveWICTextureToFile (#148)
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include <d3d12.h>
|
||||
|
||||
#include <OCIdl.h>
|
||||
#include <stdint.h>
|
||||
#include <functional>
|
||||
|
||||
|
||||
@@ -41,5 +40,6 @@ namespace DirectX
|
||||
D3D12_RESOURCE_STATES beforeState = D3D12_RESOURCE_STATE_RENDER_TARGET,
|
||||
D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET,
|
||||
_In_opt_ const GUID* targetFormat = nullptr,
|
||||
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr);
|
||||
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
|
||||
bool forceSRGB = false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user