Class ShapeQuad

A simple quad (rectangle) drawable in 2D.

class ShapeQuad
  : dlib.core.ownership.Owner
  , Drawable;

Vertices and texture coordinates are defined in normalized [0,1] space. Useful for screen-space rendering, post-processing, and UI.

Constructors

NameDescription
this (owner) Constructs a ShapeQuad.

Methods

NameDescription
render (state) Renders the quad using the provided graphics pipeline state.