RenderTexture for creating textures dynamically in CC3

Hi, I use to create textures in Cocos2d-x JavaScript with the following code:

var render = new cc.RenderTexture(...

And obtaining it from render.getSprite().texture

Any way for doing something similar in CC3?

You can refer to this doc

And you can setup a RenderTexture as rendering output in Camera’s target texture

Thanks, I’m trying to figure out how that works different from Cocos2d JavaScript.

There are demos in test-cases-3d repo, search for scenes inside rendertexture folder