Creates a new KhronosTextureContainer
contents of the KTX container file
should be either 1 or 6, based whether a cube texture or or
OptionalthreeDExpected: boolean
provision for indicating that data should be a 3D texture, not implemented
OptionaltextureArrayExpected: boolean
provision for indicating that data should be a texture array, not implemented
Gets the openGL type
Gets the openGL type size
Gets the openGL format
Gets the openGL internal format
Gets the base internal format
Gets image width in pixel
Gets image height in pixel
Gets image depth in pixels
Gets the number of array elements
Gets the number of faces
Gets the number of mipmap levels
Gets the bytes of key value data
Gets the load type
If the container has been made invalid (eg. constructor failed to correctly load array buffer)
contents of the KTX container file
!!!!!!!!inspired by Babylon.js!!!!!!!!!!!!! for description see https://www.khronos.org/opengles/sdk/tools/KTX/ for file layout see https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ Current families are astc, dxt, pvrtc, etc2, & etc1.
Returns
The extension selected.