ReleaseBuffer
Function Usage
Releases a buffer.
Restrictions
N/A
Prototype
int32_t ReleaseBuffer(GpuEncoderBufferT &buffer) = 0
Parameters
Field Name |
Input/Output |
Field Type |
Description |
|---|---|---|---|
buffer |
Input |
GpuEncoderBufferT & |
Pointer to the buffer to be released. |
Returns
Data type: GpuEncoderErrorCode
The value can be:
- OK: The buffer is successfully released.
- Other values except OK: The buffer fails to be released.