Cogs.Rendering
Loading...
Searching...
No Matches
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.

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.


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