Class GPUResourceMapMode
Describes how a mapped GPU resource will be accessed.
Inheritance
System.Object
GPUResourceMapMode
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class GPUResourceMapMode : Enum
Fields
NoWait
Flag that indicates mapping should fail with no data if the resource is still used by the GPU. Otherwise, CPU will wait for the GPU execution.
Declaration
public const GPUResourceMapMode NoWait
Field Value
|
GPUResourceMapMode
|
Read
The resource is mapped for reading.
Declaration
public const GPUResourceMapMode Read
Field Value
|
GPUResourceMapMode
|
ReadWrite
The resource is mapped for reading and writing.
Declaration
public const GPUResourceMapMode ReadWrite
Field Value
|
GPUResourceMapMode
|
value__
Declaration
public int value__
Field Value
|
System.Int32
|
Write
The resource is mapped for writing.
Declaration
public const GPUResourceMapMode Write
Field Value
|
GPUResourceMapMode
|