liballoy/alloy.h File Reference

#include <GL/gl.h>
#include <GL/glu.h>
#include <stdio.h>
#include "libmala/vector.h"
#include "image.h"

Include dependency graph for alloy.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  alloy_lightprops
struct  alloy_shader
struct  alloy_texture
struct  alloy_blend
struct  alloy_material

Defines

#define _glActiveTexture   glActiveTextureARB
#define _GL_TEXTURE0   GL_TEXTURE0_ARB
#define _GL_COMBINE   GL_COMBINE_ARB
#define _glUseProgram   sin
#define _GL_TEXTURE_CUBE_MAP   GL_TEXTURE_CUBE_MAP_EXT
#define _GL_REFLECTION_MAP   GL_REFLECTION_MAP_EXT

Typedefs

typedef alloy_lightprops alloy_lightprops_t
typedef alloy_shader alloy_shader_t
typedef alloy_texture alloy_texture_t
typedef alloy_blend alloy_blend_t
typedef alloy_material alloy_material_t

Enumerations

enum  alloy_textype {
  ALLOY_NONE = 0, ALLOY_TEX1D, ALLOY_TEX2D, ALLOY_TEX3D,
  ALLOY_SPHEREMAP, ALLOY_CUBEMAP
}

Functions

void alloy_init ()
void alloy_shutdown ()
void alloy_bind_texture (alloy_texture_t *)
void alloy_unbind_texture (alloy_texture_t *)
void alloy_bind_material (alloy_material_t *)
void alloy_load_texture (const char *, alloy_texture_t *)
unsigned int alloy_build_mipmaps_2d (alloy_image_t)
void alloy_write_material (FILE *, alloy_material_t *)
void alloy_read_material (FILE *, alloy_material_t *)
alloy_texture_talloy_get_texture (const char *)
alloy_material_talloy_init_material ()

Define Documentation

#define _GL_COMBINE   GL_COMBINE_ARB

#define _GL_REFLECTION_MAP   GL_REFLECTION_MAP_EXT

#define _GL_TEXTURE0   GL_TEXTURE0_ARB

#define _GL_TEXTURE_CUBE_MAP   GL_TEXTURE_CUBE_MAP_EXT

#define _glActiveTexture   glActiveTextureARB

#define _glUseProgram   sin


Typedef Documentation

typedef struct alloy_blend alloy_blend_t

typedef struct alloy_lightprops alloy_lightprops_t

typedef struct alloy_material alloy_material_t

typedef struct alloy_shader alloy_shader_t

typedef struct alloy_texture alloy_texture_t


Enumeration Type Documentation

enum alloy_textype

Enumerator:
ALLOY_NONE 
ALLOY_TEX1D 
ALLOY_TEX2D 
ALLOY_TEX3D 
ALLOY_SPHEREMAP 
ALLOY_CUBEMAP 


Function Documentation

void alloy_bind_material ( alloy_material_t  ) 

void alloy_bind_texture ( alloy_texture_t  ) 

unsigned int alloy_build_mipmaps_2d ( alloy_image_t   ) 

alloy_texture_t* alloy_get_texture ( const char *   ) 

void alloy_init (  ) 

alloy_material_t* alloy_init_material (  ) 

void alloy_load_texture ( const char *  ,
alloy_texture_t  
)

void alloy_read_material ( FILE *  ,
alloy_material_t  
)

void alloy_shutdown (  ) 

void alloy_unbind_texture ( alloy_texture_t  ) 

void alloy_write_material ( FILE *  ,
alloy_material_t  
)


Generated on Sun Mar 25 15:08:55 2007 for Antigone Engine by  doxygen 1.5.1