目录

HcClearBuffer

Method

HcErrorCode HcClearBuffer(struct HiCulling *obj)

Clears the depth buffer to the default size. You are advised to call this API after per frame occlusion query is complete.

Parameters

Name

Description

obj

The HiCulling object that performs software occlusion culling.

Returns

Type

Description

HcErrorCode

An error code describing the execution result.