s3d_load_texture(3) debian man page | unix.com

Man Page: s3d_load_texture

Operating Environment: debian

Section: 3

S3D_LOAD_TEXTURE(3)						    s3d Manual						       S3D_LOAD_TEXTURE(3)

NAME
s3d_load_texture - load texture from memory
SYNOPSIS
#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);
DESCRIPTION
This 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().
AUTHOR
Simon Wunderlich Author of s3d s3d S3D_LOAD_TEXTURE(3)
Related Man Pages
glprioritizetextures(3g) - redhat
glbindtexture(3g) - mojave
glprioritizetextures(3g) - mojave
glbindtexture(3g) - xfree86
glprioritizetextures(3g) - xfree86
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
My first PERL incarnation... Audio Oscillograph