UnmapBuffer
Function Usage
Unmaps data in a buffer from the memory.
Prototype
int32_t UnmapBuffer(GpuEncoderBufferT &buffer) = 0
Parameter Description
Field Name |
Input/Output |
Field Type |
Description |
|---|---|---|---|
buffer |
Input |
GpuEncoderBufferT & |
Pointer to the buffer whose data needs to be unmapped. |
Return Value Description
Data type: GpuEncoderErrorCode
The value can be any of the following:
- OK: The data in the buffer is successfully unmapped.
- Other: Failed to unmap data in the buffer.
Parent topic: GPU Acceleration APIs (C and C++)