RenderTexture
clay.Resource → Texture → clay.graphics.RenderTexture (Class)
Instance Members
renderTarget: clay.RenderTarget
Reference to the actual render target (data may vary depending on the rendering backend)
depth: Bool
Set to true
to also allocate a depth buffer on this render target
stencil: Bool
Set to true
to also allocate a stencil buffer on this render target
antialiasing: Int
Antialiasing 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(): Void
destroy(): Void
new(): Void