RenderTexture
clay.Resource → Texture → clay.graphics.RenderTexture (Class)
Instance Members
renderTarget: clay.RenderTargetReference to the actual render target (data may vary depending on the rendering backend)
depth: BoolSet to true to also allocate a depth buffer on this render target
stencil: BoolSet to true to also allocate a stencil buffer on this render target
antialiasing: IntAntialiasing value. Set it to 2, 4 or 8 to enable antialiasing/multisampling.
Requires OpenGL ES 3 / WebGL 2 or above to work
@warning NOT IMPLEMENTED, so this doesn't have any effect for now!
init(): Voiddestroy(): Voidnew(): Void