Enum CUGraphicsMapResourceFlags
Flags for mapping and unmapping graphics interop resources
Namespace: ManagedCuda.BasicTypes
Assembly: ManagedCuda.dll
Syntax
[Flags]
public enum CUGraphicsMapResourceFlags
Fields
Name | Description |
---|---|
None | Specifies no hints about how this resource will be used. It is therefore assumed that this resource will be read from and written to by CUDA. This is the default value. |
ReadOnly | Specifies that CUDA will not write to this resource. |
WriteDiscard | Specifies that CUDA will not read from this resource and will write over the entire contents of the resource, so none of the data previously stored in the resource will be preserved. |