2019-12-25 14:11:34 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-05-27 22:08:19 +02:00
<class name= "PackerImageResource" inherits= "Texture" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2019-12-25 14:11:34 +01:00
<brief_description >
2023-05-27 22:08:19 +02:00
A simple [Texture] class containing an imported [Image] without drawing logic.
2019-12-25 14:11:34 +01:00
</brief_description>
<description >
2023-05-27 22:08:19 +02:00
PackerImageResource is a Texture class designed for baking textures. It contains an imported [Image] and does not register its data in the [RenderingServer]. This makes it useful for textures that are only needed for baking.
2019-12-25 14:11:34 +01:00
</description>
<tutorials >
</tutorials>
<methods >
2023-05-27 22:08:19 +02:00
<method name= "set_data" >
<return type= "void" />
<param index= "0" name= "image" type= "Image" />
<description >
Sets the image data for the [PackerImageResource].
</description>
</method>
2019-12-25 14:11:34 +01:00
</methods>
</class>