ReleaseBuffer
Function Usage
Releases a buffer.
Restrictions
N/A
Prototype
int32_t ReleaseBuffer(GpuEncoderBufferT &buffer) = 0
Parameter Description
Field Name |
Input/Output |
Field Type |
Description |
|---|---|---|---|
buffer |
Input |
GpuEncoderBufferT & |
Pointer to the buffer to be released. |
Return Value Description
Data type: GpuEncoderErrorCode
The value can be any of the following:
- OK: The buffer is successfully released.
- Other: Failed to release the buffer.
Parent topic: GPU Acceleration APIs (C and C++)