We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wanted to generate the mip map of a Texture2D directly from the graphics API. But with DX11 a Texture2D is created with miscflag 0, and the function to generate mip maps with DX11 needs to have the flag D3D11_RESOURCE_MISC_GENERATE_MIPS. (cf. https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-generatemips)
Texture2D
miscflag 0
D3D11_RESOURCE_MISC_GENERATE_MIPS
The text was updated successfully, but these errors were encountered:
🐛 Add error when trying mips generation on texture2D for DX11 see #6
253c12e
A possibility will to be generate them directly with CUDA.
Sorry, something went wrong.
No branches or pull requests
I wanted to generate the mip map of a
Texture2D
directly from the graphics API. But with DX11 aTexture2D
is created withmiscflag 0
, and the function to generate mip maps with DX11 needs to have the flagD3D11_RESOURCE_MISC_GENERATE_MIPS
. (cf.https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-generatemips)
The text was updated successfully, but these errors were encountered: