Canvas Render Target 2D

Canvas Render Target 2D

On this page


Create Canvas Render Target 2D

Creates a new canvas render target and initializes it to the specified dimensions

Target is Canvas Render Target 2D

Get Size

Gets a specific render target's size from the global map of canvas render targets.

Target is Canvas Render Target 2D

On Canvas Render Target Update

Called when this Canvas Render Target is asked to update its texture resource.

Update Resource

Updates the the canvas render target texture's resource. This is where the render target will create or find a canvas object to use. It also calls UpdateResourceImmediate() to clear the render target texture from the deferred rendering list, to stop the texture from being cleared the next frame. From there it will ask the rendering thread to set up the RHI viewport. The canvas is then set up for rendering and then the user's update delegate is called. The canvas is then flushed and the RHI resolves the texture to make it available for rendering.

Target is Canvas Render Target 2D

Select Skin

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback