mirror of
https://github.com/Relintai/texture_packer.git
synced 2025-02-10 16:40:16 +01:00
21 lines
862 B
XML
21 lines
862 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PackerImageResource" inherits="Texture" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A simple [Texture] class containing an imported [Image] without drawing logic.
|
|
</brief_description>
|
|
<description>
|
|
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.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="set_data">
|
|
<return type="void" />
|
|
<param index="0" name="image" type="Image" />
|
|
<description>
|
|
Sets the image data for the [PackerImageResource].
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|