draw_primitive


Description:

[ Deprecated ( since = "1.16" ) ]
public void draw_primitive (Pipeline pipeline, Primitive primitive)

Warning: draw_primitive is deprecated.

Draws the given primitive geometry to the specified destination this using the graphics processing state described by pipeline.

Note:

Use Primitive<!-- -->s and draw instead

This drawing api doesn't support high-level meta texture types such as Texture2DSliced so it is the user's responsibility to ensure that only low-level textures that can be directly sampled by a GPU such as Texture2D, TextureRectangle or Texture3D are associated with layers of the given pipeline.

<note>This api doesn't support any of the legacy global state options such as cogl_set_depth_test_enabled, cogl_set_backface_culling_enabled or cogl_program_use</note>

Parameters:

this

A destination Framebuffer

pipeline

A Pipeline state object

primitive

A Primitive geometry object