summaryrefslogtreecommitdiff
path: root/video.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.hpp')
-rw-r--r--video.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/video.hpp b/video.hpp
index 523ded6..9a5dbe3 100644
--- a/video.hpp
+++ b/video.hpp
@@ -386,12 +386,14 @@ struct Device {
Texture_Id get_depth_target();
Texture& get_texture(Texture_Id id);
void destroy_texture(Texture_Id id);
+ void destroy_texturei(Texture_Id id);
Buffer_Id create_buffer(size_t size, int flags);
void* map_buffer(Buffer_Id id, size_t offset, size_t size);
void unmap_buffer(Buffer_Id id);
Buffer& get_buffer(Buffer_Id id);
void destroy_buffer(Buffer_Id id);
+ void destroy_bufferi(Buffer_Id id);
Vertex_Format_Id create_vertex_format(
const Vertex_Format_Desc& desc
@@ -402,6 +404,7 @@ struct Device {
Sampler_Id create_sampler(const Sampler_State& state);
void destroy_sampler(Sampler_Id id);
+ void destroy_sampleri(Sampler_Id id);
};
struct Context {