Optional
cameraCamera use to render scene
Optional
createWhether to create depth texture, default is false
Optional
depthWhether to enable depth buffer, default is true
Optional
framesOptional frame count, defaults to Infinity. If you set it to 1, it would only render a single frame, etc
Optional
generateWhether to generate mipmaps, default is false
Optional
heightRender texture height in pixel, default is viewport clinetHeight
Optional
samplesSample times, default is 4
Scene for rendering
Optional
stencilWhether to enable stencil buffer, default is false
Optional
widthRender texture width in pixel, default is viewport clientWidth
Render texture options
Export
RenderTextureOptions
Date
2024.1.7
Author
yisky