diff options
Diffstat (limited to 'video.hpp')
-rw-r--r-- | video.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -492,4 +492,21 @@ struct Shader : public Asset { int descriptor_stage(int slot); }; +struct Staged_Buffer { + Buffer_Id stage; + Buffer_Id gpuonly; + int size; + + void init( + Device* dev, + const char* name, + int size, + int flags + ); + void destroy(Device* dev); + void* map(Device* dev); + void unmap(Device* dev); + void update(Context& ctx); +}; + #endif |