Crauzer
Crauzer
This PR fixes https://github.com/Nominom/BCnEncoder.NET/issues/64
This issue arises from the fact that mip count is handled differently in `DdsFile` and in `DecodeInternal`. These are the relevent lines: https://github.com/Nominom/BCnEncoder.NET/blob/master/BCnEnc.Net/Decoder/BcDecoder.cs#L1161-L1164 https://github.com/Nominom/BCnEncoder.NET/blob/master/BCnEnc.Net/Shared/ImageFiles/DdsFile.cs#L57 I think the easiest way to...
`DecodeRaw` is currently a wrapper for `DecodeRawInternal` which itself accepts `ReadOnlyMemory`. There is no reason why the public function shouldn't also accept `ReadOnlyMemory`/`ReadOnlySpan`.
https://docs.google.com/document/d/1mojcAP57SG93y2uTNQ6XRiyvsFL_hOz541d_rTrfHoY/edit?usp=sharing
https://github.com/Crauzer/TexSharp
I will be doing this change due to difficulty of maintaining/doing CI/CD for a .NET monorepo. It's possible that the project might be split into several packages in the future,...