Query: dtk_destroy_texture
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DTK_DESTROY_TEXTURE(3) Draw Toolkit manual DTK_DESTROY_TEXTURE(3)NAMEdtk_destroy_texture - Free a textureSYNOPSIS#include <drawtk.h> void dtk_destroy_texture(dtk_htex tex);DESCRIPTIONThis function frees the ressource associated with a texture tex. If the texture is used several times, i.e. several call to dtk_load_image() with the same image path, it decreases the number of uses by one. Calling dtk_destroy_texture() on each created texture is currently not mandatory since all texture remaining textures are destroyed when the last window is closed. However, if no window can be closed (for example, no window has been created), dtk_destroy_texture() should be called on each created texture to avoid any memory leak. dtk_destroy_texture() is thread-safe.RETURN VALUENoneSEE ALSOdtk_load_image(3), dtk_close(3),EPFL2010 DTK_DESTROY_TEXTURE(3)
Related Man Pages |
---|
glbindtexture(3g) - mojave |
dtk_load_video_tcp(3) - debian |
dtk_load_video_test(3) - debian |
glprioritizetextures(3g) - xfree86 |
glprioritizetextures(3g) - suse |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Is UNIX an open source OS ? |
Detecting unused variables... |
New UNIX and Linux History Sections |
My first PERL incarnation... Audio Oscillograph |