Can anyone help to take a screenshot in webgl in cocos.
Through googling I got to know that for webgl ,you need to enable preserveDrawingBuffer flag to true,
so that to get DataURL.
Can anyone guide me how to achieve this in creator.
I thought of creating a new topic for this.