KtxInfo = object width*, height*, depth*: int32 num_layers*, num_mipmaps*: int32 is_cubemap*, has_alpha*, is_sRGB*: bool is_bc*, is_astc*: bool internal_format*: int32
KtxPart = object width*, height*: int32 layer*, face*, mip_level*: int32 data*: pointer len*: int row_len*: int
proc GetDdsKtxInfo(p: pointer; len: int; is_sRGB = false): Option[KtxInfo] {. ...raises: [], tags: [].}
proc ParseDdsKtx(p: pointer; len: int): seq[KtxPart] {....raises: [ValueError], tags: [].}