Template:DGS Plugin/Render Target Functions
Jump to navigation
Jump to search
Syntax
element dgsCreateRenderTarget( int width, int height [, bool isTransparent = true ] )
Required Arguments
- width: The width of the render target in pixels.
- height: The height of the render target in pixels.
Optional Arguments
- isTransparent: A boolean indicating if the render target should support transparency. Defaults to true.
Returns
Returns a render target element if it was created successfully, otherwise returns false along with an error message.