| Trees | Indices | Help |
|---|
|
|
OpenGL material representation
GLMaterial represents an OpenGL material. Its
properties directly map to corresponding OpenGL material characteristics,
all are in the range [0,1].
Gradient objects can be obtained from gwy_gl_materials_get_gl_material(). New GL materials can
be created with Inventory.new_item() on the
Inventory returned by gwy_gl_materials().
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Gets the ambient reflectance of a GL material.
|
Sets the ambient reflectance of a GL material.
|
Gets the diffuse reflectance of a GL material.
|
Sets the diffuse reflectance of a GL material.
|
Gets the specular reflectance of a GL material.
|
Sets the specular reflectance of a GL material.
|
Gets the emission component of a GL material.
|
Sets the emission component of a GL material.
|
Gets the shininess value of a GL material.
|
Sets the shininess value of a GL material.
|
Samples GL material to a provided pixbuf.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |