Enumeration
CoglBufferMapHint
since: 14
Description [src]
Hints to Cogl about how you are planning to modify the data once it is mapped.
Available since: 14
Members
COGL_BUFFER_MAP_HINT_DISCARD-
Tells Cogl that you plan to replace all the buffer’s contents. When this flag is used to map a buffer, the entire contents of the buffer become undefined, even if only a subregion of the buffer is mapped.
- Value:
1 - Nickname:
discard - Available since: 14
- Value:
COGL_BUFFER_MAP_HINT_DISCARD_RANGE-
Tells Cogl that you plan to replace all the contents of the mapped region. The contents of the region specified are undefined after this flag is used to map a buffer.
- Value:
2 - Nickname:
discard-range - Available since: 14
- Value: