Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDSTextureLoader / WICTextureLoader flag to flip the image vertically on load #257

Open
walbourn opened this issue Apr 7, 2021 · 0 comments

Comments

@walbourn
Copy link
Member

walbourn commented Apr 7, 2021

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 and CreateDDSTextureFromFileEx from using bool forceSRGB to DDS_LOADER_FLAGS loadFlags. Since we use strongly typed flags, existing uses of false and true will have to be updated to DDS_LOADER_DEFAULT or DDS_LOADER_SRGB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant