SCM Library
Spherical Cube Map rendering library
 All Classes Files Functions Variables Friends Pages
Classes | Functions
scm-task.hpp File Reference
#include <GL/glew.h>
#include <tiffio.h>
#include "scm-item.hpp"

Go to the source code of this file.

Classes

struct  scm_task
 An scm_task represents a page load task, as executed by a loader thread. More...
 

Functions

GLuint scm_internal_form (uint16 c, uint16 b)
 Select an OpenGL internal texture format. More...
 
GLuint scm_external_form (uint16 c, uint16 b)
 Select an OpenGL external texture format. More...
 
GLuint scm_external_type (uint16 c, uint16 b)
 Select an OpenGL data type. More...
 
GLsizei scm_pixel_size (uint16 c, uint16 b)
 Return the storage size for an OpenGL pixel. More...
 

Function Documentation

GLuint scm_internal_form ( uint16  c,
uint16  b 
)

Select an OpenGL internal texture format.

Parameters
cChannels per pixel
bBits per channel
GLuint scm_external_form ( uint16  c,
uint16  b 
)

Select an OpenGL external texture format.

Parameters
cChannels per pixel
bBits per channel
GLuint scm_external_type ( uint16  c,
uint16  b 
)

Select an OpenGL data type.

Parameters
cChannels per pixel
bBits per channel
GLsizei scm_pixel_size ( uint16  c,
uint16  b 
)

Return the storage size for an OpenGL pixel.

Parameters
cChannels per pixel
bBits per channel