diff options
Diffstat (limited to 'src/block.h')
| -rw-r--r-- | src/block.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/block.h b/src/block.h index b19265d..f55f784 100644 --- a/src/block.h +++ b/src/block.h @@ -24,3 +24,13 @@ int block_init(vec3 pos, struct block* blk); int block_draw(struct block* blk, struct shader* shader); void block_debug(struct block* blk); void block_update(struct block* blk); + +/** + * Remove GPU related data of a block. This is usually called by chunk_unload + * + */ +void block_unload(struct block* blk); +/** + * Load GPU data of a block + */ +void block_load_gpu(struct block* blk); |
