1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-09-19 23:29:54 +00:00

Code review feedback

This commit is contained in:
Chuck Walbourn 2022-02-22 17:03:58 -08:00
parent 3599374502
commit 86355f5542

View File

@ -408,13 +408,13 @@ namespace DirectX
//---------------------------------------------------------------------------------
// Misc helper functions
bool IsAlphaAllOpaqueBC(_In_ const Image& cImage) noexcept;
bool CalculateMipLevels(_In_ size_t width, _In_ size_t height, _Inout_ size_t& mipLevels) noexcept;
bool CalculateMipLevels3D(_In_ size_t width, _In_ size_t height, _In_ size_t depth,
bool __cdecl IsAlphaAllOpaqueBC(_In_ const Image& cImage) noexcept;
bool __cdecl CalculateMipLevels(_In_ size_t width, _In_ size_t height, _Inout_ size_t& mipLevels) noexcept;
bool __cdecl CalculateMipLevels3D(_In_ size_t width, _In_ size_t height, _In_ size_t depth,
_Inout_ size_t& mipLevels) noexcept;
#ifdef WIN32
HRESULT ResizeSeparateColorAndAlpha(_In_ IWICImagingFactory* pWIC,
HRESULT __cdecl ResizeSeparateColorAndAlpha(_In_ IWICImagingFactory* pWIC,
_In_ bool iswic2,
_In_ IWICBitmap* original,
_In_ size_t newWidth, _In_ size_t newHeight, _In_ TEX_FILTER_FLAGS filter,