[][src]Module cat_engine::graphics

Графические основы. Graphics bases.

Графический движок разделен на три части:

  1. Простая графика - одноцветные объекты состоящие из Vertex2D.
  2. Текстуры (изображения)
  3. Текст

The graphics engine is divided into three parts:

  1. Simple graphics - plain objects composed of Vertex2D.
  2. Textures (images)
  3. Text

Structs

Graphics

Простой интерфейс для связи кадра и графических функций. Simple interface to connect graphics fuctions to the frame.

Graphics2D

Графическая основа. A graphics base.

GraphicsSettings

Настройки графических основ. Settings for graphics bases.

InnerGraphicsSettings
TextGraphicsSettings
TexturedVertex2D
Vertex2D

Вершина для простых объектов. A vertex for simple objects.

Enums

DrawType
ObjectType

Traits

DependentObject

Типаж для создания объектов, которые зависят от буферов вершин и индексов. A trait for creating objects depend on vertex and index buffers.