Cross-platform texture encoding libary for .NET. With support for BC1-3/DXT, BC4-5/RGTC and BC6-7/BPTC compression. Outputs files in ktx or dds formats.
The Unlicense
108
stars
16
forks
source link
Make `DecodeRaw` accept `ReadOnlyMemory<byte>` #63
DecodeRaw is currently a wrapper for DecodeRawInternal which itself accepts ReadOnlyMemory<byte>.
There is no reason why the public function shouldn't also accept ReadOnlyMemory/ReadOnlySpan.
DecodeRaw
is currently a wrapper forDecodeRawInternal
which itself acceptsReadOnlyMemory<byte>
. There is no reason why the public function shouldn't also acceptReadOnlyMemory
/ReadOnlySpan
.