Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Struct Cogl.Color

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglColor
Struct : Color
A structure for holding a color definition. The contents of
the CoglColor structure are private and should never by accessed
directly.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Cogl.Color ()
Create a new Cogl.Color
Create a new Cogl.Color
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cogl
Method
Cogl.clear (Color color, guint32 buffers) : none
Clears all the auxiliary buffers identified in the buffers mask, and if
that includes the color buffer then the specified color is used.
Cogl
Method
Cogl.set_fog (Color fog_color, FogMode mode, gfloat density, gfloat z_near, gfloat z_far) : none
Enables fogging.
Cogl
Method
Cogl.set_source_color (Color color) : none
This is a convenience function for creating a solid fill source material
from the given color.
Cogl.Material
Method
get_ambient (Color ambient) : none
Retrieves the current ambient color for material
Cogl.Material
Method
get_color () : Cogl.Color
Retrieves the current material color.
Cogl.Material
Method
get_diffuse (Color diffuse) : none
Retrieves the current diffuse color for material
Cogl.Material
Method
get_emission (Color emission) : none
Retrieves the materials current emission color.
Cogl.Material
Method
get_specular (Color specular) : none
Retrieves the materials current specular color.
Cogl.Material
Method
set_ambient (Color ambient) : none
Sets the material's ambient color, in the standard OpenGL lighting
model.
Cogl.Material
Method
set_ambient_and_diffuse (Color color) : none
Conveniently sets the diffuse and ambient color of material at the same
time.
Cogl.Material
Method
set_blend_constant (Color constant_color) : none
When blending is setup to reference a CONSTANT blend factor then
blending will depend on the constant set with this function.
Cogl.Material
Method
set_color (Color color) : none
Sets the basic color of the material, used when no lighting is enabled.
Cogl.Material
Method
set_diffuse (Color diffuse) : none
Sets the material's diffuse color, in the standard OpenGL lighting
model.
Cogl.Material
Method
set_emission (Color emission) : none
Sets the material's emissive color, in the standard OpenGL lighting
model.
Cogl.Material
Method
set_layer_combine_constant (gint32 layer_index, Color constant) : none
When you are using the 'CONSTANT' color source in a layer combine
description then you can use this function to define its value.
Cogl.Material
Method
set_specular (Color specular) : none
Sets the material's specular color, in the standard OpenGL lighting
model.
Cogl.Pipeline
Method
get_ambient (Color ambient) : none
Cogl.Pipeline
Method
get_color () : Cogl.Color
Cogl.Pipeline
Method
get_diffuse (Color diffuse) : none
Cogl.Pipeline
Method
get_emission (Color emission) : none
Cogl.Pipeline
Method
get_specular (Color specular) : none
Cogl.Pipeline
Method
set_ambient (Color ambient) : none
Cogl.Pipeline
Method
set_ambient_and_diffuse (Color color) : none
Cogl.Pipeline
Method
set_blend_constant (Color constant_color) : none
Cogl.Pipeline
Method
set_color (Color color) : none
Cogl.Pipeline
Method
set_diffuse (Color diffuse) : none
Cogl.Pipeline
Method
set_emission (Color emission) : none
Cogl.Pipeline
Method
set_layer_combine_constant (gint32 layer_index, Color constant) : none
Cogl.Pipeline
Method
set_specular (Color specular) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:54 GMT+0800 (HKT)