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

Mapping modes for resources managed by the graphics system. More...

#include <Flags.h>

Public Types

enum  EMapMode { Read = 0 , Write , ReadWrite , WriteDiscard }
 Mapping mode enumeration. More...
 

Detailed Description

Mapping modes for resources managed by the graphics system.

Definition at line 89 of file Flags.h.

Member Enumeration Documentation

◆ EMapMode

Mapping mode enumeration.

Enumerator
Read 

Read only access. Be careful to not do any writes to the data in this mode as that might incur heavy performance penalties.

Write 

Write only access. Be careful to not do any reads from the data in this mode as that might incur heavy performance penalties.

ReadWrite 

Read and write access.

WriteDiscard 

Write access. When unmapping the graphics system will discard the old contents of the resource.

Definition at line 92 of file Flags.h.


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