cinnaboot
|
9f94c153f8
|
rename structures in asset.h to consistent style
|
5 years ago |
cinnaboot
|
8370a69ed4
|
update asset cache and loading interface
|
5 years ago |
cinnaboot
|
23318500f6
|
allocate Assets structure as part of render state
This lets us move the asset MemoryArena to the Asset structure to be
able to pass it around without needing a reference to RenderState
everywhere.
|
5 years ago |
cinnaboot
|
8dac55ea1e
|
rename memory_arena struct to MemoryArena
|
5 years ago |
cinnaboot
|
7cef2a5c3a
|
rename assetGetCached to assetGetCachedModel()
|
5 years ago |
cinnaboot
|
c3c3a5be61
|
move copyDiffuseTexture function from interface section
|
5 years ago |
cinnaboot
|
8e1aa44672
|
remove draw_mode and usage from mesh struct
|
5 years ago |
cinnaboot
|
b6c48fa53b
|
add note about using u16 instead of u32
|
5 years ago |
cinnaboot
|
be0a97ed2c
|
move utility functions from arena.h to util.h
|
5 years ago |
cinnaboot
|
40576a64a3
|
update ARENA_ALLOC macro args
|
5 years ago |
cinnaboot
|
3680bc7d61
|
add ARENA_ALLOC() macro function for arenaAllocateBlock()
|
5 years ago |
cinnaboot
|
f17b7a5bf4
|
add 'max_len' parameter to arenaCopyCStr()
|
5 years ago |
cinnaboot
|
78edb249a9
|
add arenaCopyCStr() utility function
|
5 years ago |
cinnaboot
|
11b627ac80
|
combine models and texture into new asset structure
|
5 years ago |
cinnaboot
|
d6373b1b41
|
use uint16_t for element array buffer data
this matches the use in the tinygltf library
|
5 years ago |
cinnaboot
|
f3e3de55c5
|
add types.h include
|
5 years ago |
cinnaboot
|
ec144d48e2
|
add some support libs, move sources to src/
|
5 years ago |