C# (CSharp) CSPspEmu.Core.Utils PixelFormatDecoder.Decode_COMPRESSED_DXT3 - 2 examples found. These are the top rated real world C# (CSharp) examples of CSPspEmu.Core.Utils.PixelFormatDecoder.Decode_COMPRESSED_DXT3 extracted from open source projects. You can rate examples to help us improve the quality of examples.
DXT2 and DXT3 (collectively also known as Block Compression 2 or BC2) converts 16 input pixels (corresponding to a 4x4 pixel block) into 128 bits of output, consisting of 64 bits of alpha channel data (4 bits for each pixel) followed by 64 bits of color data, encoded the same way as DXT1 (with the exception that the 4 color version of the DXT1 algorithm is always used instead of deciding which version to use based on the relative values of and ). In DXT2, the color data is interpreted as being premultiplied by alpha, in DXT3 it is interpreted as not having been premultiplied by alpha. Typically DXT2/3 are well suited to images with sharp alpha transitions, between translucent and opaque areas.