Enum MapMode
Describes how the CPU is accessing a GraphicsResource with the MapSubresource(GraphicsResource, int, MapMode, bool, int, int) method.
public enum MapMode
Fields
Read = 1
Resource is mapped for reading.
ReadWrite = 3
Resource is mapped for read-write.
Write = 2
Resource is mapped for writing.
WriteDiscard = 4
Resource is mapped for writing; the previous contents of the resource will be undefined.
WriteNoOverwrite = 5
Resource is mapped for writing; the existing contents of the resource cannot be overwritten.