Blender  V2.59
Functions
GPU_draw.h File Reference

Go to the source code of this file.

Functions

void GPU_state_init (void)
void GPU_state_print (void)
void GPU_begin_object_materials (struct View3D *v3d, struct RegionView3D *rv3d, struct Scene *scene, struct Object *ob, int glsl, int *do_alpha_pass)
void GPU_end_object_materials (void)
int GPU_enable_material (int nr, void *attribs)
void GPU_disable_material (void)
void GPU_set_material_blend_mode (int blendmode)
int GPU_get_material_blend_mode (void)
int GPU_set_tpage (struct MTFace *tface, int mipmap)
int GPU_default_lights (void)
int GPU_scene_object_lights (struct Scene *scene, struct Object *ob, int lay, float viewmat[][4], int ortho)
void GPU_render_text (struct MTFace *tface, int mode, const char *textstr, int textlen, unsigned int *col, float *v1, float *v2, float *v3, float *v4, int glattrib)
void GPU_set_mipmap (int mipmap)
void GPU_set_linear_mipmap (int linear)
void GPU_paint_set_mipmap (int mipmap)
void GPU_set_anisotropic (float value)
float GPU_get_anisotropic (void)
void GPU_paint_update_image (struct Image *ima, int x, int y, int w, int h, int mipmap)
void GPU_update_images_framechange (void)
int GPU_update_image_time (struct Image *ima, double time)
int GPU_verify_image (struct Image *ima, struct ImageUser *iuser, int tftile, int compare, int mipmap)
void GPU_free_image (struct Image *ima)
void GPU_free_images (void)
void GPU_free_images_anim (void)
void GPU_free_smoke (struct SmokeModifierData *smd)
void GPU_create_smoke (struct SmokeModifierData *smd, int highres)
void GPU_free_unused_buffers (void)

Detailed Description

Definition in file GPU_draw.h.


Function Documentation

void GPU_begin_object_materials ( struct View3D v3d,
struct RegionView3D rv3d,
struct Scene scene,
struct Object ob,
int  glsl,
int *  do_alpha_pass 
)
void GPU_create_smoke ( struct SmokeModifierData smd,
int  highres 
)
int GPU_default_lights ( void  )
void GPU_disable_material ( void  )
int GPU_enable_material ( int  nr,
void *  attribs 
)
void GPU_end_object_materials ( void  )
void GPU_free_image ( struct Image ima)
void GPU_free_images ( void  )
void GPU_free_images_anim ( void  )
void GPU_free_smoke ( struct SmokeModifierData smd)
void GPU_free_unused_buffers ( void  )
float GPU_get_anisotropic ( void  )

Definition at line 311 of file gpu_draw.c.

References GPUTextureState::anisotropic, and GTS.

Referenced by GPU_verify_image().

int GPU_get_material_blend_mode ( void  )
void GPU_paint_set_mipmap ( int  mipmap)
void GPU_paint_update_image ( struct Image ima,
int  x,
int  y,
int  w,
int  h,
int  mipmap 
)
void GPU_render_text ( struct MTFace tface,
int  mode,
const char *  textstr,
int  textlen,
unsigned int *  col,
float *  v1,
float *  v2,
float *  v3,
float *  v4,
int  glattrib 
)
int GPU_scene_object_lights ( struct Scene scene,
struct Object ob,
int  lay,
float  viewmat[][4],
int  ortho 
)
void GPU_set_anisotropic ( float  value)

Definition at line 297 of file gpu_draw.c.

References GPUTextureState::anisotropic, GPU_free_images(), and GTS.

Referenced by main(), and WM_init().

void GPU_set_linear_mipmap ( int  linear)

Definition at line 263 of file gpu_draw.c.

References GPU_free_images(), GTS, and GPUTextureState::linearmipmap.

Referenced by set_ge_parameters().

void GPU_set_material_blend_mode ( int  blendmode)
void GPU_set_mipmap ( int  mipmap)

Definition at line 255 of file gpu_draw.c.

References GPUTextureState::domipmap, GPU_free_images(), and GTS.

Referenced by main(), set_ge_parameters(), and WM_init().

int GPU_set_tpage ( struct MTFace tface,
int  mipmap 
)
void GPU_state_init ( void  )

Definition at line 1363 of file gpu_draw.c.

References GPU_default_lights().

Referenced by RAS_OpenGLRasterizer::Init(), and wm_window_add_ghostwindow().

void GPU_state_print ( void  )

Definition at line 1453 of file gpu_draw.c.

References gpu_get_print().

int GPU_update_image_time ( struct Image ima,
double  time 
)
void GPU_update_images_framechange ( void  )
int GPU_verify_image ( struct Image ima,
struct ImageUser iuser,
int  tftile,
int  compare,
int  mipmap 
)