Skip to content

lib.img.adjust.ConvertFormat

Thomas Mann edited this page Jan 17, 2024 · 1 revision

ConvertFormat

in lib.img.adjust


Converts a Texture into another format. This can be useful to speed up video file rendering or to fix unsupported texture formats for [PlayVideo].

For fast video exporting use [B8G8R8A8_UNorm].

Please note: The ScaleImage is only experimental and will crop from the upper left corner.


Input Parameters

Name (Relevancy & Type) Description
Texture2d (Texture2DRequired) -
Format (Format) -
GenerateMipMaps (Boolean) -
Enable (Boolean) -
ScaleFactor (Single) -

Outputs

Name Type
Output SharpDX.Direct3D11.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally