get_render_target_info
Reads metadata from a UTextureRenderTarget2D asset—width, height, format, pixel format, and sRGB flag—without reading pixels or altering the asset.
Instructions
Read the metadata of a UTextureRenderTarget2D asset without reading pixels or changing it: width, height, format (RTF_*), pixel_format and is_srgb. For 2D-array or cube render targets use get_render_target_2d_array_info or get_render_target_cube_info; export_render_target writes the image to disk.
Returns: { render_target_name: string, asset_path: string, width: int, height: int, format: string, pixel_format: string, is_srgb: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| render_target_path | Yes | Asset path of the render target, e.g. /Game/RenderTargets/RT_Example |