mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-09 14:26:12 +01:00
Code review feedback for standalone texture loaders
This commit is contained in:
@@ -30,7 +30,7 @@ namespace DirectX
|
||||
_In_ ID3D12Resource* pSource,
|
||||
_In_z_ const wchar_t* fileName,
|
||||
D3D12_RESOURCE_STATES beforeState = D3D12_RESOURCE_STATE_RENDER_TARGET,
|
||||
D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET);
|
||||
D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET) noexcept;
|
||||
|
||||
HRESULT __cdecl SaveWICTextureToFile(
|
||||
_In_ ID3D12CommandQueue* pCommandQ,
|
||||
@@ -41,5 +41,5 @@ namespace DirectX
|
||||
D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET,
|
||||
_In_opt_ const GUID* targetFormat = nullptr,
|
||||
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
|
||||
bool forceSRGB = false);
|
||||
bool forceSRGB = false) noexcept;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user