Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

r_state.cpp File Reference

rendering state routines More...

#include "omicron/internal.h"
#include "omicron/render.h"
#include "omicron/texture.h"
#include "omicron/list.h"

Go to the source code of this file.

Functions

color_t color_from_floats (float r, float g, float b, float a)
 convert 4 floats to color

color_t color_from_vec (const vec4_t color)
 convert a vec4 to color

void color_to_vec (color_t color, vec4_t out)
 convert a color to a vec4

color_t color_interpolate (color_t color1, color_t color2, float frac)
 interpolate two colors


Detailed Description

Definition in file r_state.cpp.


Variable Documentation

ulong _gl_texfilter[] [static]
 

Initial value:

{ 
    GL_NEAREST, 
    GL_LINEAR, 
    GL_NEAREST_MIPMAP_NEAREST, 
    GL_LINEAR_MIPMAP_NEAREST, 
    GL_NEAREST_MIPMAP_LINEAR, 
    GL_LINEAR_MIPMAP_LINEAR 
}

Definition at line 45 of file r_state.cpp.

ulong _gl_texwrap[] [static]
 

Initial value:

  
{ 
    GL_REPEAT, 
    GL_CLAMP 
}

Definition at line 55 of file r_state.cpp.


Generated on Wed Dec 18 15:48:49 2002 for omicron engine by doxygen1.2.18