Query: s3d_load_texture
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
S3D_LOAD_TEXTURE(3) s3d Manual S3D_LOAD_TEXTURE(3)NAMEs3d_load_texture - load texture from memorySYNOPSIS#include <s3d.h> int s3d_load_texture(int object, uint32_t tex, uint16_t xpos, uint16_t ypos, uint16_t w, uint16_t h, const uint8_t *data);DESCRIPTIONThis will load an 32bit rgba image supplied in data at position xpos,ypos of the texture tex. The image has the width w and height h. This can be used to update only parts of the texture. It's no problem to supply big textures, as the image will be sent to server in fragments. Of course, you will have created the texture with s3d_push_texture, have an material assigned to the texture with s3d_pep_material_texture() and have your polygons set sane polygon texture coords using s3d_pep_polygon_tex_coord().AUTHORSimon Wunderlich Author of s3d s3d S3D_LOAD_TEXTURE(3)
Related Man Pages |
---|
glprioritizetextures(3g) - redhat |
glistexture(3g) - redhat |
glbindtexture(3g) - redhat |
glinvalidateteximage(3g) - centos |
glistexture(3g) - suse |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
Introduction |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |