internal GLIFormatDesc(int BitsPerPixel, int Components, GLIInternalFormat internalFormat, GLIExternalFormat externalFormat, GLITypeFormat typeFormat) { this.BitsPerPixel = BitsPerPixel; this.Components = Components; this.BlockSize = BitsPerPixel / 8; this.BlockWidth = this.BlockHeight = this.BlockDepth = 1; this.IsCompressed = false; this.InternalFormat = internalFormat; this.ExternalFormat = externalFormat; this.TypeFormat = typeFormat; }
internal GLIFormatDesc(int BlockSize, int BlockWidth, int BlockHeight, int BlockDepth, int BitsPerPixel, int Components, bool isCompressed, GLIInternalFormat internalFormat, GLIExternalFormat externalFormat, GLITypeFormat typeFormat) { this.BlockSize = BlockSize; this.BlockWidth = BlockWidth; this.BlockHeight = BlockHeight; this.BlockDepth = BlockDepth; this.BitsPerPixel = BitsPerPixel; this.Components = Components; this.IsCompressed = isCompressed; this.InternalFormat = internalFormat; this.ExternalFormat = externalFormat; this.TypeFormat = typeFormat; }