Cogl.Renderer – doc Reference Manual
Packages
doc
Cogl
Renderer
Renderer
add_constraint
check_onscreen_template
connect
foreach_output
get_driver
get_n_fragment_texture_units
get_winsys_id
remove_constraint
set_driver
set_winsys_id
Renderer
Object Hierarchy:
Description:
public
class
Renderer
:
Object
Namespace:
Cogl
Package:
doc
Content:
Creation methods:
public
Renderer
()
Instantiates a new (unconnected)
Renderer
object.
Methods:
public
void
add_constraint
(
RendererConstraint
constraint)
This adds a renderer selection
constraint
.
public
Bool
check_onscreen_template
(
OnscreenTemplate
onscreen_template)
throws
Error
Tests if a given
onscreen_template
can be supported with the given
this
.
public
Bool
connect
()
throws
Error
Connects the configured
this
.
public
void
foreach_output
(
OutputCallback
callback)
Iterates all known display outputs for the given
this
and passes a corresponding
Output
pointer to the given
callback
for each one, along with the given
user_data
.
public
Driver
get_driver
()
Queries what underlying driver is being used by Cogl.
public
int
get_n_fragment_texture_units
()
Queries how many texture units can be used from fragment programs
public
WinsysID
get_winsys_id
()
Queries which window system backend Cogl has chosen to use.
public
void
remove_constraint
(
RendererConstraint
constraint)
This removes a renderer selection
constraint
.
public
void
set_driver
(
Driver
driver)
Requests that Cogl should try to use a specific underlying driver for rendering.
public
void
set_winsys_id
(
WinsysID
winsys_id)
This allows you to explicitly select a winsys backend to use instead of letting Cogl automatically select a backend.
Inherited Members:
All known members inherited from class Cogl.Object
value_set_object