improve docs
parent
311e5894a7
commit
b69eaee2ee
|
@ -17158,7 +17158,7 @@ API texture_t texture_from_mem(const void* ptr, int len, int flags);
|
||||||
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
API texture_t texture_checker();
|
API texture_t texture_checker();
|
||||||
API void texture_destroy(texture_t *t);
|
API void texture_destroy(texture_t *t);
|
||||||
API int texture_unit(); // returns rolling counter
|
API int texture_unit(); // returns rolling counter up to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
|
||||||
// textureLod(filename, dir, lod);
|
// textureLod(filename, dir, lod);
|
||||||
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
||||||
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
|
|
|
@ -136,7 +136,7 @@ API texture_t texture_from_mem(const void* ptr, int len, int flags);
|
||||||
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
API texture_t texture_checker();
|
API texture_t texture_checker();
|
||||||
API void texture_destroy(texture_t *t);
|
API void texture_destroy(texture_t *t);
|
||||||
API int texture_unit(); // returns rolling counter
|
API int texture_unit(); // returns rolling counter up to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
|
||||||
// textureLod(filename, dir, lod);
|
// textureLod(filename, dir, lod);
|
||||||
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
||||||
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
|
|
|
@ -3225,7 +3225,7 @@ API texture_t texture_from_mem(const void* ptr, int len, int flags);
|
||||||
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API texture_t texture_create(unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
API texture_t texture_checker();
|
API texture_t texture_checker();
|
||||||
API void texture_destroy(texture_t *t);
|
API void texture_destroy(texture_t *t);
|
||||||
API int texture_unit(); // returns rolling counter
|
API int texture_unit(); // returns rolling counter up to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
|
||||||
// textureLod(filename, dir, lod);
|
// textureLod(filename, dir, lod);
|
||||||
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
// void texture_add_loader( int(*loader)(const char *filename, int *w, int *h, int *bpp, int reqbpp, int flags) );
|
||||||
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
API unsigned texture_update(texture_t *t, unsigned w, unsigned h, unsigned n, const void *pixels, int flags);
|
||||||
|
|
Loading…
Reference in New Issue