draw_material_to_render_target
Renders a material as a full-screen quad into a render target, useful for baking material output to a texture. Returns drawn false if the engine skips the draw or the target has no resource.
Instructions
Render a material full-screen quad into a render target. drawn is false, and the call fails, when the engine skips the draw: a process that cannot render (-nullrhi, a commandlet) or a render target without a resource.
Returns: { render_target_path: string, material_path: string, drawn: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes | Asset path of the UMaterialInterface to draw | |
| render_target_path | Yes | Asset path of the destination render target |