Rate This Document
Findability
Accuracy
Completeness
Readability

UnmapBuffer

Function Usage

Unmaps the data in a buffer to the memory.

Restrictions

N/A

Prototype

int32_t UnmapBuffer(GpuEncoderBufferT &buffer, uint32_t flag) = 0

Parameters

Field Name

Input/Output

Field Type

Description

buffer

Input

GpuEncoderBufferT &

Pointer to the buffer of which the data needs to be unmapped.

Returns

Data type: GpuEncoderErrorCode

The value can be:

  • OK: The data in the buffer is successfully unmapped.
  • Other values except OK: The data in the buffer fails to be unmapped.