2008-04-25 13:37:36 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl</FILE>
|
|
|
|
<TITLE>General API</TITLE>
|
2010-05-27 21:24:56 +00:00
|
|
|
CoglObject
|
|
|
|
cogl_object_ref
|
|
|
|
cogl_object_unref
|
|
|
|
CoglUserDataKey
|
|
|
|
cogl_object_get_user_data
|
|
|
|
cogl_object_set_user_data
|
2009-02-06 11:16:42 +00:00
|
|
|
COGL_INVALID_HANDLE
|
|
|
|
CoglHandle
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_handle_ref
|
|
|
|
cogl_handle_unref
|
|
|
|
|
|
|
|
<SUBSECTION>
|
2009-02-06 11:16:42 +00:00
|
|
|
CoglFuncPtr
|
2008-04-25 13:37:36 +00:00
|
|
|
CoglPixelFormat
|
|
|
|
CoglBufferTarget
|
2009-06-10 11:50:45 +00:00
|
|
|
CoglBufferBit
|
|
|
|
CoglAttributeType
|
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SUBSECTION>
|
2009-02-06 11:16:42 +00:00
|
|
|
CoglFeatureFlags
|
|
|
|
cogl_get_features
|
|
|
|
cogl_features_available
|
|
|
|
cogl_check_extension
|
|
|
|
cogl_get_proc_address
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_get_option_group
|
|
|
|
|
2009-02-06 11:16:42 +00:00
|
|
|
<SUBSECTION>
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_push_matrix
|
|
|
|
cogl_pop_matrix
|
|
|
|
cogl_scale
|
|
|
|
cogl_translate
|
|
|
|
cogl_rotate
|
2010-04-08 13:37:01 +00:00
|
|
|
cogl_transform
|
2009-05-26 10:33:54 +00:00
|
|
|
cogl_frustum
|
|
|
|
cogl_perspective
|
|
|
|
cogl_ortho
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2009-05-26 10:33:54 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_get_modelview_matrix
|
|
|
|
cogl_set_modelview_matrix
|
|
|
|
cogl_get_projection_matrix
|
|
|
|
cogl_set_projection_matrix
|
|
|
|
cogl_viewport
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_set_viewport
|
2009-05-26 10:33:54 +00:00
|
|
|
cogl_get_viewport
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SUBSECTION>
|
2009-02-12 13:23:20 +00:00
|
|
|
cogl_clear
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_get_bitmasks
|
2009-05-26 15:55:11 +00:00
|
|
|
cogl_set_depth_test_enabled
|
|
|
|
cogl_get_depth_test_enabled
|
|
|
|
cogl_set_backface_culling_enabled
|
|
|
|
cogl_get_backface_culling_enabled
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2009-02-12 13:23:20 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
CoglFogMode
|
|
|
|
cogl_set_fog
|
|
|
|
cogl_disable_fog
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SUBSECTION>
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_set_source
|
|
|
|
cogl_set_source_color
|
|
|
|
cogl_set_source_color4ub
|
|
|
|
cogl_set_source_color4f
|
|
|
|
cogl_set_source_texture
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2009-06-17 13:30:44 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
CoglReadPixelsFlags
|
|
|
|
cogl_read_pixels
|
|
|
|
|
2009-06-29 16:10:34 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_flush
|
2009-06-29 21:32:05 +00:00
|
|
|
cogl_begin_gl
|
|
|
|
cogl_end_gl
|
2009-06-29 16:10:34 +00:00
|
|
|
|
2009-06-10 11:50:45 +00:00
|
|
|
<SUBSECTION Standard>
|
|
|
|
COGL_TYPE_ATTRIBUTE_TYPE
|
2009-11-19 12:34:06 +00:00
|
|
|
COGL_TYPE_BLEND_STRING_ERROR
|
2010-02-12 15:52:07 +00:00
|
|
|
COGL_TYPE_BUFFER_ACCESS
|
2009-06-10 11:50:45 +00:00
|
|
|
COGL_TYPE_BUFFER_BIT
|
|
|
|
COGL_TYPE_BUFFER_TARGET
|
2010-02-12 15:52:07 +00:00
|
|
|
COGL_TYPE_BUFFER_UPDATE_HINT
|
|
|
|
COGL_TYPE_BUFFER_USAGE_HINT
|
2009-06-10 11:50:45 +00:00
|
|
|
COGL_TYPE_DEBUG_FLAGS
|
2009-11-19 12:34:06 +00:00
|
|
|
COGL_TYPE_DRIVER_ERROR
|
2009-06-10 11:50:45 +00:00
|
|
|
COGL_TYPE_FEATURE_FLAGS
|
|
|
|
COGL_TYPE_FIXED
|
|
|
|
COGL_TYPE_FOG_MODE
|
|
|
|
COGL_TYPE_HANDLE
|
|
|
|
COGL_TYPE_INDICES_TYPE
|
|
|
|
COGL_TYPE_MATERIAL_ALPHA_FUNC
|
|
|
|
COGL_TYPE_MATERIAL_FILTER
|
|
|
|
COGL_TYPE_MATERIAL_LAYER_TYPE
|
|
|
|
COGL_TYPE_PIXEL_FORMAT
|
2009-11-19 12:34:06 +00:00
|
|
|
COGL_TYPE_READ_PIXELS_FLAGS
|
2009-06-10 11:50:45 +00:00
|
|
|
COGL_TYPE_SHADER_TYPE
|
|
|
|
COGL_TYPE_TEXTURE_FLAGS
|
|
|
|
COGL_TYPE_VERTICES_MODE
|
|
|
|
|
2009-02-06 11:16:42 +00:00
|
|
|
<SUBSECTION Private>
|
2009-11-19 12:34:06 +00:00
|
|
|
COGL_DRIVER_ERROR
|
|
|
|
CoglDriverError
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_attribute_type_get_type
|
|
|
|
cogl_buffer_bit_get_type
|
|
|
|
cogl_buffer_target_get_type
|
|
|
|
cogl_debug_flags_get_type
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_driver_error_get_type
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_feature_flags_get_type
|
|
|
|
cogl_fixed_get_type
|
|
|
|
cogl_fog_mode_get_type
|
|
|
|
cogl_handle_get_type
|
|
|
|
cogl_indices_type_get_type
|
|
|
|
cogl_material_alpha_func_get_type
|
|
|
|
cogl_material_filter_get_type
|
|
|
|
cogl_material_layer_type_get_type
|
|
|
|
cogl_pixel_format_get_type
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_read_pixels_flags_get_type
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_shader_type_get_type
|
|
|
|
cogl_texture_flags_get_type
|
|
|
|
cogl_vertices_mode_get_type
|
2010-02-09 14:48:11 +00:00
|
|
|
COGL_AFIRST_BIT
|
|
|
|
COGL_A_BIT
|
|
|
|
COGL_BGR_BIT
|
|
|
|
COGL_PIXEL_FORMAT_24
|
|
|
|
COGL_PIXEL_FORMAT_32
|
|
|
|
COGL_PREMULT_BIT
|
|
|
|
COGL_UNORDERED_MASK
|
|
|
|
COGL_UNPREMULT_MASK
|
2008-04-25 13:37:36 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2009-02-12 13:23:20 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-clipping</FILE>
|
2009-10-07 16:35:11 +00:00
|
|
|
<TITLE>Clipping</TITLE>
|
[cogl-clip] deprecate parts and cleanup the API
cogl_clip_push() which accepts a rectangle in model space shouldn't have
been defined to take x,y,width,height arguments because this isn't consistant
with other Cogl API dealing with model space rectangles. If you are using a
coordinate system with the origin at the center and the y+ extending up,
then x,y,width,height isn't as natural as (x0,y0)(x1,y1). This API has
now been replace with cogl_clip_push_rectangle()
(As a general note: the Cogl API should only use the x,y,width,height style
when the appropriate coordinate space is defined by Cogl to have a top left
origin. E.g. window coordinates, or potentially texture coordinates)
cogl_clip_push_window_rect() shouldn't have been defined to take float
arguments since we only clip with integral pixel precision. We also
shouldn't have abbreviated "rectangle". This API has been replaced with
cogl_clip_push_window_rectangle()
cogl_clip_ensure() wasn't documented at all in Clutter 1.0 and probably
no one even knew it existed. This API isn't useful, and so it's now
deprecated. If no one complains we may remove the API altogether for
Clutter 1.2.
cogl_clip_stack_save() and cogl_clip_stack_restore() were originally added
to allow us to save/restore the clip when switching to/from offscreen
rendering. Now that offscreen draw buffers are defined to own their clip
state and the state will be automatically saved and restored this API is now
redundant and so deprecated.
2009-11-04 19:31:43 +00:00
|
|
|
cogl_clip_push_rectangle
|
|
|
|
cogl_clip_push_window_rectangle
|
2009-02-12 13:23:20 +00:00
|
|
|
cogl_clip_push_from_path
|
|
|
|
cogl_clip_push_from_path_preserve
|
|
|
|
cogl_clip_pop
|
2009-11-19 12:34:06 +00:00
|
|
|
|
[cogl-clip] deprecate parts and cleanup the API
cogl_clip_push() which accepts a rectangle in model space shouldn't have
been defined to take x,y,width,height arguments because this isn't consistant
with other Cogl API dealing with model space rectangles. If you are using a
coordinate system with the origin at the center and the y+ extending up,
then x,y,width,height isn't as natural as (x0,y0)(x1,y1). This API has
now been replace with cogl_clip_push_rectangle()
(As a general note: the Cogl API should only use the x,y,width,height style
when the appropriate coordinate space is defined by Cogl to have a top left
origin. E.g. window coordinates, or potentially texture coordinates)
cogl_clip_push_window_rect() shouldn't have been defined to take float
arguments since we only clip with integral pixel precision. We also
shouldn't have abbreviated "rectangle". This API has been replaced with
cogl_clip_push_window_rectangle()
cogl_clip_ensure() wasn't documented at all in Clutter 1.0 and probably
no one even knew it existed. This API isn't useful, and so it's now
deprecated. If no one complains we may remove the API altogether for
Clutter 1.2.
cogl_clip_stack_save() and cogl_clip_stack_restore() were originally added
to allow us to save/restore the clip when switching to/from offscreen
rendering. Now that offscreen draw buffers are defined to own their clip
state and the state will be automatically saved and restored this API is now
redundant and so deprecated.
2009-11-04 19:31:43 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_clip_push
|
|
|
|
cogl_clip_push_window_rect
|
|
|
|
cogl_clip_ensure
|
2009-02-12 13:23:20 +00:00
|
|
|
cogl_clip_stack_save
|
|
|
|
cogl_clip_stack_restore
|
2009-10-07 16:35:11 +00:00
|
|
|
</SECTION>
|
2009-02-12 13:23:20 +00:00
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-primitives</FILE>
|
|
|
|
<TITLE>Primitives</TITLE>
|
2009-02-06 11:16:42 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_rectangle
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_rectangles
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_rectangle_with_texture_coords
|
|
|
|
cogl_rectangles_with_texture_coords
|
|
|
|
cogl_rectangle_with_multitexture_coords
|
|
|
|
cogl_polygon
|
|
|
|
|
|
|
|
<SUBSECTION>
|
2010-06-01 16:53:42 +00:00
|
|
|
cogl_is_path
|
2008-12-04 13:45:09 +00:00
|
|
|
cogl_path_new
|
2010-06-01 16:34:59 +00:00
|
|
|
cogl_get_path
|
|
|
|
cogl_set_path
|
2010-04-08 16:43:27 +00:00
|
|
|
cogl_path_copy
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_path_move_to
|
|
|
|
cogl_path_close
|
2008-04-29 15:58:32 +00:00
|
|
|
cogl_path_line_to
|
|
|
|
cogl_path_curve_to
|
2008-06-09 16:38:19 +00:00
|
|
|
cogl_path_arc
|
2008-04-29 15:58:32 +00:00
|
|
|
cogl_path_rel_move_to
|
|
|
|
cogl_path_rel_line_to
|
|
|
|
cogl_path_rel_curve_to
|
|
|
|
cogl_path_line
|
|
|
|
cogl_path_polyline
|
|
|
|
cogl_path_polygon
|
|
|
|
cogl_path_rectangle
|
|
|
|
cogl_path_round_rectangle
|
|
|
|
cogl_path_ellipse
|
2008-11-12 13:57:58 +00:00
|
|
|
|
|
|
|
<SUBSECTION>
|
2010-06-23 12:40:43 +00:00
|
|
|
CoglPathFillRule
|
|
|
|
cogl_path_set_fill_rule
|
|
|
|
cogl_path_get_fill_rule
|
2008-11-12 13:57:58 +00:00
|
|
|
cogl_path_fill
|
2008-12-04 13:45:09 +00:00
|
|
|
cogl_path_fill_preserve
|
2008-11-12 13:57:58 +00:00
|
|
|
cogl_path_stroke
|
2008-12-04 13:45:09 +00:00
|
|
|
cogl_path_stroke_preserve
|
2008-04-25 13:37:36 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2009-04-30 17:00:22 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-bitmap</FILE>
|
|
|
|
<TITLE>Bitmaps</TITLE>
|
|
|
|
cogl_bitmap_new_from_file
|
|
|
|
cogl_bitmap_get_size_from_file
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_is_bitmap
|
2009-04-30 17:00:22 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-texture</FILE>
|
|
|
|
<TITLE>Textures</TITLE>
|
|
|
|
CoglTextureVertex
|
2009-01-21 10:59:19 +00:00
|
|
|
CoglTextureFlags
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_texture_new_with_size
|
|
|
|
cogl_texture_new_from_file
|
|
|
|
cogl_texture_new_from_data
|
|
|
|
cogl_texture_new_from_foreign
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_texture_new_from_bitmap
|
2009-11-27 16:39:16 +00:00
|
|
|
cogl_texture_new_from_sub_texture
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_is_texture
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_texture_ref
|
|
|
|
cogl_texture_unref
|
|
|
|
|
|
|
|
<SUBSECTION>
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_texture_get_width
|
|
|
|
cogl_texture_get_height
|
|
|
|
cogl_texture_get_format
|
|
|
|
cogl_texture_get_rowstride
|
|
|
|
cogl_texture_get_max_waste
|
|
|
|
cogl_texture_is_sliced
|
|
|
|
cogl_texture_get_gl_texture
|
|
|
|
cogl_texture_get_data
|
|
|
|
cogl_texture_set_region
|
2010-02-09 14:41:37 +00:00
|
|
|
|
|
|
|
<SUBSECTION Private>
|
|
|
|
COGL_TEXTURE_MAX_WASTE
|
2008-04-25 13:37:36 +00:00
|
|
|
</SECTION>
|
|
|
|
|
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-shaders</FILE>
|
|
|
|
<TITLE>Shaders and Programmable Pipeline</TITLE>
|
2009-06-10 11:50:45 +00:00
|
|
|
CoglShaderType
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_create_shader
|
2008-04-29 16:10:37 +00:00
|
|
|
cogl_shader_ref
|
|
|
|
cogl_shader_unref
|
|
|
|
cogl_is_shader
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_shader_source
|
|
|
|
cogl_shader_compile
|
|
|
|
cogl_shader_get_info_log
|
2009-05-12 13:15:18 +00:00
|
|
|
cogl_shader_get_type
|
|
|
|
cogl_shader_is_compiled
|
2009-06-10 11:50:45 +00:00
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_create_program
|
2008-04-29 16:10:37 +00:00
|
|
|
cogl_program_ref
|
|
|
|
cogl_program_unref
|
|
|
|
cogl_is_program
|
2008-04-25 13:37:36 +00:00
|
|
|
cogl_program_attach_shader
|
|
|
|
cogl_program_link
|
|
|
|
cogl_program_use
|
|
|
|
cogl_program_get_uniform_location
|
|
|
|
cogl_program_uniform_1f
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_program_uniform_1i
|
2008-11-18 15:08:40 +00:00
|
|
|
cogl_program_uniform_float
|
|
|
|
cogl_program_uniform_int
|
|
|
|
cogl_program_uniform_matrix
|
2008-04-25 13:37:36 +00:00
|
|
|
</SECTION>
|
|
|
|
|
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-offscreen</FILE>
|
|
|
|
<TITLE>Offscreen Buffers</TITLE>
|
|
|
|
cogl_offscreen_new_to_texture
|
|
|
|
cogl_offscreen_ref
|
|
|
|
cogl_offscreen_unref
|
2008-04-29 16:10:37 +00:00
|
|
|
cogl_is_offscreen
|
2009-11-26 19:06:35 +00:00
|
|
|
cogl_set_framebuffer
|
2010-02-09 14:41:37 +00:00
|
|
|
cogl_push_framebuffer
|
2009-11-26 19:06:35 +00:00
|
|
|
cogl_pop_framebuffer
|
2009-04-30 21:19:43 +00:00
|
|
|
cogl_set_draw_buffer
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_pop_draw_buffer
|
|
|
|
cogl_push_draw_buffer
|
2008-04-25 13:37:36 +00:00
|
|
|
</SECTION>
|
2008-10-30 16:37:55 +00:00
|
|
|
|
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-fixed</FILE>
|
|
|
|
<TITLE>Fixed Point API</TITLE>
|
|
|
|
CoglFixed
|
|
|
|
COGL_FIXED_BITS
|
|
|
|
COGL_FIXED_Q
|
|
|
|
COGL_FIXED_MAX
|
|
|
|
COGL_FIXED_MIN
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
COGL_FIXED_FROM_FLOAT
|
|
|
|
COGL_FIXED_TO_FLOAT
|
|
|
|
COGL_FIXED_FROM_INT
|
|
|
|
COGL_FIXED_TO_INT
|
2009-06-10 11:50:45 +00:00
|
|
|
COGL_FIXED_FROM_DOUBLE
|
2008-10-30 16:37:55 +00:00
|
|
|
COGL_FIXED_TO_DOUBLE
|
|
|
|
COGL_FLOAT_TO_INT
|
|
|
|
COGL_FLOAT_TO_UINT
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
COGL_FIXED_EPSILON
|
|
|
|
COGL_FIXED_1
|
|
|
|
COGL_FIXED_0_5
|
|
|
|
COGL_FIXED_30
|
|
|
|
COGL_FIXED_45
|
|
|
|
COGL_FIXED_60
|
|
|
|
COGL_FIXED_90
|
|
|
|
COGL_FIXED_120
|
|
|
|
COGL_FIXED_180
|
|
|
|
COGL_FIXED_240
|
|
|
|
COGL_FIXED_255
|
|
|
|
COGL_FIXED_270
|
|
|
|
COGL_FIXED_360
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
COGL_FIXED_MUL
|
|
|
|
COGL_FIXED_DIV
|
|
|
|
COGL_FIXED_MUL_DIV
|
|
|
|
COGL_FIXED_FAST_DIV
|
|
|
|
COGL_FIXED_FAST_MUL
|
|
|
|
COGL_FIXED_FRACTION
|
|
|
|
COGL_FIXED_FLOOR
|
|
|
|
COGL_FIXED_CEIL
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
COGL_FIXED_2_PI
|
|
|
|
COGL_FIXED_PI
|
|
|
|
COGL_FIXED_PI_2
|
|
|
|
COGL_FIXED_PI_4
|
|
|
|
COGL_RADIANS_TO_DEGREES
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
COGL_SQRTI_ARG_10_PERCENT
|
|
|
|
COGL_SQRTI_ARG_5_PERCENT
|
|
|
|
COGL_SQRTI_ARG_MAX
|
|
|
|
cogl_sqrti
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_fixed_atan2
|
2010-06-05 20:05:23 +00:00
|
|
|
cogl_fixed_atan
|
2008-10-30 16:37:55 +00:00
|
|
|
cogl_fixed_cos
|
|
|
|
cogl_fixed_log2
|
|
|
|
cogl_fixed_pow
|
|
|
|
cogl_fixed_pow2
|
|
|
|
cogl_fixed_sin
|
|
|
|
cogl_fixed_sqrt
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_fixed_tan
|
2008-10-30 16:37:55 +00:00
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
CoglAngle
|
|
|
|
COGL_ANGLE_FROM_DEG
|
|
|
|
COGL_ANGLE_FROM_DEGX
|
|
|
|
COGL_ANGLE_TO_DEG
|
|
|
|
COGL_ANGLE_TO_DEGX
|
|
|
|
cogl_angle_cos
|
|
|
|
cogl_angle_sin
|
|
|
|
cogl_angle_tan
|
|
|
|
|
|
|
|
<SUBSECTION Private>
|
|
|
|
cogl_double_to_fixed
|
|
|
|
cogl_double_to_int
|
|
|
|
cogl_double_to_unit
|
|
|
|
</SECTION>
|
2008-10-30 16:50:07 +00:00
|
|
|
|
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-color</FILE>
|
|
|
|
<TITLE>Color Type</TITLE>
|
|
|
|
CoglColor
|
2008-11-12 13:57:58 +00:00
|
|
|
cogl_color_new
|
|
|
|
cogl_color_copy
|
|
|
|
cogl_color_free
|
2008-10-30 16:50:07 +00:00
|
|
|
cogl_color_set_from_4ub
|
2009-01-20 16:20:54 +00:00
|
|
|
cogl_color_set_from_4f
|
2008-10-30 16:50:07 +00:00
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_get_red
|
|
|
|
cogl_color_get_green
|
|
|
|
cogl_color_get_blue
|
|
|
|
cogl_color_get_alpha
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_get_red_byte
|
|
|
|
cogl_color_get_green_byte
|
|
|
|
cogl_color_get_blue_byte
|
|
|
|
cogl_color_get_alpha_byte
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_get_red_float
|
|
|
|
cogl_color_get_green_float
|
|
|
|
cogl_color_get_blue_float
|
|
|
|
cogl_color_get_alpha_float
|
2009-11-19 12:34:06 +00:00
|
|
|
|
2010-06-06 22:03:26 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_set_red
|
|
|
|
cogl_color_set_green
|
|
|
|
cogl_color_set_blue
|
|
|
|
cogl_color_set_alpha
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_set_red_byte
|
|
|
|
cogl_color_set_green_byte
|
|
|
|
cogl_color_set_blue_byte
|
|
|
|
cogl_color_set_alpha_byte
|
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_set_red_float
|
|
|
|
cogl_color_set_green_float
|
|
|
|
cogl_color_set_blue_float
|
|
|
|
cogl_color_set_alpha_float
|
|
|
|
|
2009-11-19 12:34:06 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_color_premultiply
|
2010-06-06 21:57:02 +00:00
|
|
|
cogl_color_unpremultiply
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_color_equal
|
2008-10-30 16:50:07 +00:00
|
|
|
</SECTION>
|
2008-11-10 18:53:14 +00:00
|
|
|
|
|
|
|
<SECTION>
|
2009-01-21 16:41:18 +00:00
|
|
|
<FILE>cogl-vertex-buffer</FILE>
|
|
|
|
<TITLE>Vertex Buffers</TITLE>
|
|
|
|
cogl_vertex_buffer_new
|
2009-02-28 17:39:38 +00:00
|
|
|
cogl_vertex_buffer_get_n_vertices
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_vertex_buffer_ref
|
|
|
|
cogl_vertex_buffer_unref
|
|
|
|
cogl_vertex_buffer_add
|
|
|
|
cogl_vertex_buffer_delete
|
|
|
|
cogl_vertex_buffer_submit
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_vertex_buffer_disable
|
|
|
|
cogl_vertex_buffer_enable
|
2009-11-19 12:34:06 +00:00
|
|
|
CoglVerticesMode
|
2009-01-21 16:41:18 +00:00
|
|
|
cogl_vertex_buffer_draw
|
2009-08-04 10:10:55 +00:00
|
|
|
cogl_is_vertex_buffer
|
2009-06-10 11:50:45 +00:00
|
|
|
|
|
|
|
<SUBSECTION>
|
2009-05-24 03:04:38 +00:00
|
|
|
CoglIndicesType
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_vertex_buffer_indices_new
|
2009-03-09 10:26:31 +00:00
|
|
|
cogl_vertex_buffer_draw_elements
|
2009-05-28 12:47:18 +00:00
|
|
|
cogl_vertex_buffer_indices_get_for_quads
|
2009-11-19 12:34:06 +00:00
|
|
|
|
|
|
|
<SUBSECTION Private>
|
|
|
|
cogl_vertex_buffer_indices_get_type
|
2008-11-10 18:53:14 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2008-12-22 16:16:07 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-matrix</FILE>
|
|
|
|
<TITLE>Matrices</TITLE>
|
|
|
|
CoglMatrix
|
|
|
|
cogl_matrix_init_identity
|
2009-06-10 11:50:45 +00:00
|
|
|
cogl_matrix_frustum
|
|
|
|
cogl_matrix_ortho
|
|
|
|
cogl_matrix_perspective
|
|
|
|
cogl_matrix_transform_point
|
2008-12-22 16:16:07 +00:00
|
|
|
cogl_matrix_multiply
|
|
|
|
cogl_matrix_rotate
|
|
|
|
cogl_matrix_translate
|
|
|
|
cogl_matrix_scale
|
2009-02-25 16:23:09 +00:00
|
|
|
cogl_matrix_init_from_array
|
|
|
|
cogl_matrix_get_array
|
2009-11-19 12:34:06 +00:00
|
|
|
cogl_matrix_get_inverse
|
2008-12-22 16:16:07 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2008-12-22 16:19:49 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-material</FILE>
|
|
|
|
<TITLE>Materials</TITLE>
|
|
|
|
cogl_material_new
|
2010-02-09 15:29:29 +00:00
|
|
|
cogl_material_copy
|
2008-12-22 16:19:49 +00:00
|
|
|
cogl_material_ref
|
|
|
|
cogl_material_unref
|
2009-02-19 11:55:54 +00:00
|
|
|
cogl_is_material
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_set_color
|
|
|
|
cogl_material_set_color4ub
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_material_set_color4f
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_get_color
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_material_set_ambient
|
|
|
|
cogl_material_get_ambient
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_set_diffuse
|
|
|
|
cogl_material_get_diffuse
|
2009-02-06 11:16:42 +00:00
|
|
|
cogl_material_set_ambient_and_diffuse
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_set_emission
|
|
|
|
cogl_material_get_emission
|
2008-12-22 16:19:49 +00:00
|
|
|
cogl_material_set_specular
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_get_specular
|
2008-12-22 16:19:49 +00:00
|
|
|
cogl_material_set_shininess
|
2009-01-27 16:53:01 +00:00
|
|
|
cogl_material_get_shininess
|
2008-12-22 16:19:49 +00:00
|
|
|
CoglMaterialAlphaFunc
|
|
|
|
cogl_material_set_alpha_test_function
|
2010-02-12 15:52:07 +00:00
|
|
|
COGL_BLEND_STRING_ERROR
|
2009-06-10 11:50:45 +00:00
|
|
|
CoglBlendStringError
|
2009-05-10 23:40:41 +00:00
|
|
|
cogl_material_set_blend
|
|
|
|
cogl_material_set_blend_constant
|
2008-12-22 16:19:49 +00:00
|
|
|
cogl_material_set_layer
|
|
|
|
cogl_material_remove_layer
|
2009-05-10 23:40:41 +00:00
|
|
|
cogl_material_set_layer_combine
|
|
|
|
cogl_material_set_layer_combine_constant
|
2008-12-22 16:19:49 +00:00
|
|
|
cogl_material_set_layer_matrix
|
2009-05-23 16:42:10 +00:00
|
|
|
cogl_material_get_layers
|
2009-07-20 11:49:35 +00:00
|
|
|
cogl_material_get_n_layers
|
2009-06-04 15:04:57 +00:00
|
|
|
CoglMaterialFilter
|
|
|
|
cogl_material_set_layer_filters
|
2010-02-09 15:29:29 +00:00
|
|
|
CoglMaterialLayerType
|
2009-05-23 16:42:10 +00:00
|
|
|
cogl_material_layer_get_type
|
|
|
|
cogl_material_layer_get_texture
|
2009-06-04 15:04:57 +00:00
|
|
|
cogl_material_layer_get_min_filter
|
|
|
|
cogl_material_layer_get_mag_filter
|
2010-04-01 10:31:33 +00:00
|
|
|
cogl_material_set_layer_wrap_mode
|
|
|
|
cogl_material_set_layer_wrap_mode_s
|
|
|
|
cogl_material_set_layer_wrap_mode_t
|
|
|
|
cogl_material_layer_get_wrap_mode_s
|
|
|
|
cogl_material_layer_get_wrap_mode_t
|
2009-11-19 12:34:06 +00:00
|
|
|
<SUBSECTION Private>
|
|
|
|
cogl_blend_string_error_get_type
|
|
|
|
cogl_blend_string_error_quark
|
2009-02-06 11:16:42 +00:00
|
|
|
</SECTION>
|
|
|
|
|
2010-01-10 17:28:24 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-buffer</FILE>
|
|
|
|
<TITLE>Buffers</TITLE>
|
|
|
|
cogl_is_buffer
|
|
|
|
cogl_buffer_get_size
|
|
|
|
CoglBufferUsageHint
|
|
|
|
cogl_buffer_set_usage_hint
|
|
|
|
cogl_buffer_get_usage_hint
|
|
|
|
CoglBufferUpdateHint
|
|
|
|
cogl_buffer_set_update_hint
|
|
|
|
cogl_buffer_get_update_hint
|
|
|
|
CoglBufferAccess
|
|
|
|
cogl_buffer_map
|
|
|
|
cogl_buffer_unmap
|
|
|
|
cogl_buffer_set_data
|
2010-01-10 18:04:29 +00:00
|
|
|
|
|
|
|
<SUBSECTION>
|
|
|
|
cogl_pixel_buffer_new
|
|
|
|
cogl_pixel_buffer_new_for_size
|
|
|
|
cogl_is_pixel_buffer
|
|
|
|
|
2010-01-22 15:07:27 +00:00
|
|
|
<SUBSECTION>
|
|
|
|
cogl_texture_new_from_buffer
|
|
|
|
|
2010-06-05 20:05:23 +00:00
|
|
|
<SUBSECTION Private>
|
|
|
|
cogl_buffer_access_get_type
|
|
|
|
cogl_buffer_update_hint_get_type
|
|
|
|
cogl_buffer_usage_hint_get_type
|
|
|
|
</SECTION>
|
|
|
|
|
2010-05-20 13:54:44 +00:00
|
|
|
<SECTION>
|
|
|
|
<FILE>cogl-vector</FILE>
|
|
|
|
<TITLE>Vectors</TITLE>
|
|
|
|
cogl_vector3_init
|
|
|
|
cogl_vector3_init_zero
|
|
|
|
cogl_vector3_equal
|
|
|
|
cogl_vector3_equal_with_epsilon
|
|
|
|
cogl_vector3_copy
|
|
|
|
cogl_vector3_free
|
|
|
|
cogl_vector3_invert
|
|
|
|
cogl_vector3_add
|
|
|
|
cogl_vector3_subtract
|
|
|
|
cogl_vector3_multiply_scalar
|
|
|
|
cogl_vector3_divide_scalar
|
|
|
|
cogl_vector3_normalize
|
|
|
|
cogl_vector3_magnitude
|
|
|
|
cogl_vector3_cross_product
|
|
|
|
cogl_vector3_dot_product
|
|
|
|
cogl_vector3_distance
|
2010-01-10 17:28:24 +00:00
|
|
|
</SECTION>
|