mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-12 21:20:13 +02:00
Code review feedback
This commit is contained in:
parent
3599374502
commit
86355f5542
@ -408,13 +408,13 @@ namespace DirectX
|
|||||||
|
|
||||||
//---------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------
|
||||||
// Misc helper functions
|
// Misc helper functions
|
||||||
bool IsAlphaAllOpaqueBC(_In_ const Image& cImage) noexcept;
|
bool __cdecl IsAlphaAllOpaqueBC(_In_ const Image& cImage) noexcept;
|
||||||
bool CalculateMipLevels(_In_ size_t width, _In_ size_t height, _Inout_ size_t& mipLevels) noexcept;
|
bool __cdecl 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 CalculateMipLevels3D(_In_ size_t width, _In_ size_t height, _In_ size_t depth,
|
||||||
_Inout_ size_t& mipLevels) noexcept;
|
_Inout_ size_t& mipLevels) noexcept;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
HRESULT ResizeSeparateColorAndAlpha(_In_ IWICImagingFactory* pWIC,
|
HRESULT __cdecl ResizeSeparateColorAndAlpha(_In_ IWICImagingFactory* pWIC,
|
||||||
_In_ bool iswic2,
|
_In_ bool iswic2,
|
||||||
_In_ IWICBitmap* original,
|
_In_ IWICBitmap* original,
|
||||||
_In_ size_t newWidth, _In_ size_t newHeight, _In_ TEX_FILTER_FLAGS filter,
|
_In_ size_t newWidth, _In_ size_t newHeight, _In_ TEX_FILTER_FLAGS filter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user