partial loading #605
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
If you use |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
If you use |
Beta Was this translation helpful? Give feedback.
If you use
ktxTexture2_CreateFromNamedFile
orktxTexture2_CreateFromStdioStream
andKTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BIT
is not set, then only the header, levelIndex, etc. will be read from disk, modulo whatever buffering stdio may be doing. The data size is determined usingfstat
to get the file size. If you are reading a file yourself before callingktxTexture2_CreateFromMemory
you can also usefstat
orstat
.