DDSTextureLoader / WICTextureLoader flag to flip the image vertically on load
walbourn opened this issue · comments
Chuck Walbourn commented
Proposal for DDS_LOADER_FLIPV
and WIC_LOADER_FLIPV
flags which would let you invert the image on load.
For DirectX Tool Kit for DX11 this would require a minor breaking change to change
CreateDDSTextureFromMemoryEx
andCreateDDSTextureFromFileEx
from usingbool forceSRGB
toDDS_LOADER_FLAGS loadFlags
. Since we use strongly typed flags, existing uses offalse
andtrue
will have to be updated toDDS_LOADER_DEFAULT
orDDS_LOADER_SRGB
.