我要评分
获取效率
正确性
完整性
易理解

ReleaseStream

Function Usage

Releases the stream when the goldfish-opengl component is disconnected from the instruction stream engine.

Restrictions

N/A

Prototype

void ReleaseStream(uint32_t streamHandle);

Parameters

Parameter

Input/Output

Type

Description

streamHandle

Input

uint32_t

Handle for connecting the goldfish-opengl component to the stream of the instruction stream engine

Returns

N/A

Example Call

void Test()
{
    uint32_t streamHandle = GetStream();
    if (streamHandle > 0) {
        ReleaseStream(streamHandle);
    } else {
        // Failed to create the stream handle.
        ...
    }
}