Closed helviett closed 2 months ago
Does Xbox::SaveToDDSFile
not work for your scenario?
You want the Xbox version of https://github.com/microsoft/DirectXTex/issues/249
Does
Xbox::SaveToDDSFile
not work for your scenario?
No, I have already opened file that contains multiple textures.
You want the Xbox version of https://github.com/microsoft/DirectXTex/issues/249 Yes, would be nice to make
EncodeDDSHeader
,XBOX_HEADER_SIZE
,DDS_XBOX_HEADER
public. Almost every engine I saw just have to copy these structures into their sources.
The Xbox 'extension' is specific to my Auxiliary library, but I can look at moving the Xbox structs to dds.h
.
Right now the only way to save XDDS using DirectXTex library is this:
This additional copy can be avoided if
EncodeDDSHeader
used insideXbox::SaveToDDSMemory
is exposed: