Cogs.Core
Public Types | List of all members
Cogs::Core::MeshFlags Struct Reference

Defines mesh flags controlling the behavior of Mesh resources. More...

#include <Mesh.h>

Public Types

enum  EMeshFlags : uint16_t {
  None = 0x0000 , StreamsChanged = 0x0001 , IndexesChanged = 0x0002 , ClockwiseWinding = 0x0004 ,
  Indexed = 0x0008 , BoundingBoxSet = 0x0080 , Skinned = 0x0100 , Instanced = 0x200
}
 Mesh flags. More...
 

Detailed Description

Defines mesh flags controlling the behavior of Mesh resources.

Definition at line 51 of file Mesh.h.

Member Enumeration Documentation

◆ EMeshFlags

Mesh flags.

Enumerator
None 

No flags.

StreamsChanged 

One or more of the data streams in the mesh changed.

IndexesChanged 

The index data of the mesh changed.

ClockwiseWinding 

The mesh uses clockwise winding order for it's triangles as opposed to the counter-clockwise default.

Indexed 

The mesh should be drawn indexed, using index data to order the triangle vertexes.

BoundingBoxSet 

Custom bounding box set, no automatic calculation of bounds should be performed.

Instanced 

Mesh contains instance data.

Definition at line 54 of file Mesh.h.


The documentation for this struct was generated from the following file: