public static DDSTexture ReadDDS(this SCMap scMap) { int length = scMap.ReadInt(); byte[] ddsBytes = scMap.ReadBytes(length); DDSTexture ddsTexture = new DDSTexture(ddsBytes); return(ddsTexture); }