MapMode class final
How a buffer is mapped into host memory — GraphicsDevice.mapBuffer.
A class with constants rather than an enum, so a value added in a minor
release does not break a switch written against it: name is what a
file or a snapshot writes, and byName reads it back.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- read → const MapMode
- The host reads what the GPU wrote. Needs BufferUsage.hostReadable.
-
values
→ const List<
MapMode> - Every value this version names, in declaration order. A later version appends; nothing is removed or renamed within a major.
- write → const MapMode
- The host writes what the GPU will read. Needs BufferUsage.hostWritable.