Static methods
staticgetChannelOffset(format:PixelFormat, channel:Channel):Int
Returns the byte offset for the requested channel (0=R,1=G,2=B,3=A) Returns -1 if the channel is not found
statictoDDSLayers(pixels:Array<Pixels>, isCubeMap:Bool = false):Bytes
Build DDS texture bytes from an array of pixels : - can contain a single image - can contain multiple layers (set isCubeMap = true if it's a cubemap) - can contain single or multiple layers with mipmaps (auto detected with diffences in size)