DirectXTex
DirectXTex copied to clipboard
DirectXTex texture processing library
As part of the support for premultiplied alpha, the library will load DDS files with 'native' pm alpha data and preserve it with a metadata flag to indicate this, and...
There's no directly equivalent DirectXTex function to the legacy D3DX11 functions D3DX11CreateTextureFromFile, D3DX11CreateShaderResourceViewFromFile, D3DX11CreateTextureFromMemory, and D3DX11CreateShaderResourceViewFromMemory. The same operations can be performed by DirectXTex, and generally these old functions are...
The image appears to shift slightly when doing the non-WIC point-filter. This shift doesn't happen with the WIC point filter.
* VS 2019 (17.7) introduces a new switch for optimizing large switch statements (``/jumptablerdata``). * GNU still defaults to x87 math code-gen on x86, so this opts into SSE/SSE2 math...
Hi, feel free to close this issue given that it's most-likely an emulation-related problem. It might help some other people with the same issue though. I tried to compress the...
All enums exposed in the api use either the default `int` or `unsigned long` for their underlying type. This is an issue for building ffi bindings, because the size of...
The PPM/PFM functionality is currently part of the texconv tool. I don't believe it's an important format to support as part of the mainline library, but it could be moved...
As a way to save memory with lightmaps, a variant of DXT5/BC3 uses RGBM instead of RGBA to encode HDR content. http://www.ludicon.com/castano/blog/2016/09/lightmap-compression-in-the-witness/ In a shader it would be reconstructed as:...
Could be useful to have a pair of functions which maps between Vulkan formats and DXGI formats (i.e. VK_FORMAT_R8_UNORM DXGI_FORMAT_R8_UNORM, VK_FORMAT_R16G16B16A16_SFLOATDXGI_FORMAT_R16G16B16A16_FLOAT, etc.) https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormat.html > Note all defined Vulkan formats have...
The bulk of the image operations that use WIC also have non-WIC paths which are supported for Linux & Windows Subsystem for Linux. The one function that currently always requires...