1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Added struct member descriptions.

This commit is contained in:
Camilla Berglund 2013-05-27 22:29:06 +02:00
parent 393e439ac3
commit c159411944

View File

@ -787,10 +787,20 @@ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
*/ */
typedef struct typedef struct
{ {
/*! The width, in pixels, of the video mode.
*/
int width; int width;
/*! The height, in pixels, of the video mode.
*/
int height; int height;
/*! The bit depth of the red channel of the video mode.
*/
int redBits; int redBits;
/*! The bit depth of the green channel of the video mode.
*/
int greenBits; int greenBits;
/*! The bit depth of the blue channel of the video mode.
*/
int blueBits; int blueBits;
} GLFWvidmode; } GLFWvidmode;
@ -804,9 +814,17 @@ typedef struct
*/ */
typedef struct typedef struct
{ {
/*! An array of value describing the response of the red channel.
*/
unsigned short* red; unsigned short* red;
/*! An array of value describing the response of the green channel.
*/
unsigned short* green; unsigned short* green;
/*! An array of value describing the response of the blue channel.
*/
unsigned short* blue; unsigned short* blue;
/*! The number of elements in each array.
*/
unsigned int size; unsigned int size;
} GLFWgammaramp; } GLFWgammaramp;