Draw command

Constructor

draw_command.new(primitive_topology: integer, vertices: table, indices: table) -> draw_command
Properties
Description

primitive_topology

Defines the shape and structure of the primitives being drawn (e.g., points, lines, triangles).

vertices

The collection of Vertexes that define the shape or geometry of the primitive.

indices

Defines the order in which vertices are connected to form the primitive.

z_index

Represents the depth or layering of the object, determining its visibility relative to other objects in space.

Last updated