Enum D3D11MapCpuPermission
Identifies a resource to be accessed for reading and writing by the CPU.
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public enum D3D11MapCpuPermission
Fields
Name | Description |
---|---|
None | No option. |
Read | Resource is mapped for reading. The resource must have been created with read access. |
ReadWrite | Resource is mapped for reading and writing. The resource must have been created with read and write access. |
Write | Resource is mapped for writing. The resource must have been created with write access. |
WriteDiscard | Resource is mapped for writing; the previous contents of the resource will be undefined. The resource must have been created with write access and dynamic usage. |
WriteNoOverwrite | Resource is mapped for writing; the existing contents of the resource cannot be overwritten (see Remarks). This flag is only valid on vertex and index buffers. The resource must have been created with write access. |