draw


Description:

public void draw (Framebuffer framebuffer, Pipeline pipeline)

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

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.

Parameters:

this

A Primitive geometry object

framebuffer

A destination Framebuffer

pipeline

A Pipeline state object