|
|
unsigned int | texture_id |
| | opengl texture id to use from glGenTextures()
|
|
unsigned int | framebuffer_id |
| | 0 if not a FBO, FBO id otherwise from glGenFramebuffers()
|
|
unsigned int | internal_format |
| | same as 'internalFormat' for glTexImage2D()
|
|
unsigned int | format |
| | same as 'format' for glTexImage2D()
|
|
unsigned int | x |
|
unsigned int | y |
|
unsigned int | w |
|
unsigned int | h |
| | region inside the texture to use (image size is assumed as texture size, with 0, 0 being the top-left and co-ordinates working down to the right and bottom being positive)
|