Commit Graph

20 Commits

Author SHA1 Message Date
754a281655 add LoadImage wrapper in CKTexture 2023-10-08 10:42:07 +08:00
b477c468cd fix some saving result issue 2023-10-02 17:45:59 +08:00
ee4b621cac fix saving issue
- fix CKStateChunk resize memory error.
- fix wrong CKBitmapHandler free position in CKBitmapData writer.
- fix init value error of CKFileWriter::m_DisableAddingFile when copying from reader.
- fix ReadString, WriteString error in CKStateChunk (forget NULL terminal)
- change CKPathManager resolve path order. Resolve temp path first, then resources folder.
- fix mixdata combine error when writing CKTexture.
2023-09-30 16:01:39 +08:00
eedd9bdb55 finish CKtexture writer
- finish CKTexture writer
- add std::enable_if for CKStateChunk::ReadIdent&WriteIdent to limit it in enum type.
- fix error function calling in CKBitmapData writer.
- let CKTexture reader mor formal for mipmap.
- fix CKStateChunk ReadBuffer redirect guideline.
- add a stupid height and width getter for CKBitmapData to serve CKTexture using.
2023-09-30 11:51:04 +08:00
3195a9682f finish CKBitmapData writer.
- finish spec fmt image writer and raw bitmap writer.
- fix a possible fatal issue in ReadBuffer(). return nullptr simply rather than allocate a blank buf. otherwise the process of use nullptr to check result will be broken.
- add CanSaveAlpha() method in CKBitmapHandler.
2023-09-29 23:09:01 +08:00
1575186c69 finish CKBitmapData::DumpToChunk 2023-09-28 23:29:52 +08:00
c0626eefee finish almost object output display 2023-09-22 22:31:51 +08:00
ddf596faec create visitor for all existed CK class 2023-09-22 14:48:45 +08:00
d66716acd7 write shit 2023-09-20 10:49:32 +08:00
d381369ed6 now can read CKMesh without memory issue 2023-09-18 23:11:33 +08:00
81d1e80d14 finish CKStateChunk refactor 2023-09-18 16:37:05 +08:00
c6608dec57 basically finish register. still have bug 2023-09-17 12:39:21 +08:00
1ddeeb3b68 refactor project 2023-09-16 18:31:25 +08:00
33c02d292b fix image reading issue 2023-09-12 20:49:19 +08:00
42feff734d finish CKTexture reading 2023-09-12 17:03:06 +08:00
9c1fcd172d almost finish CKBitmapData read 2023-09-11 22:20:45 +08:00
e2647ed39b refactor VxImageDescEx 2023-09-11 14:39:07 +08:00
1e0ed360bd write shit 2023-09-10 21:33:43 +08:00
e907c18f35 fill info for CKBitmapData 2023-09-10 13:23:04 +08:00
138e47cbdc fix compile error by split some classes into CKStructs.hpp. ready for CKBitmapData 2023-09-07 22:10:42 +08:00