{{newin (日本語)|[[0.9.1 (日本語)|0.9.1]]|091|type=関数}}
Sets the texture ([[Image]] or [[Canvas]]) used for the sprites in the batch, when drawing.

== 関数 ==
=== 概要 ===
<source lang="lua">
SpriteBatch:setTexture( texture )
</source>
=== 引数 ===
{{param (日本語)|Texture|texture|The new Image or Canvas to use for the sprites in the batch.}}
=== 返値 ===
ありません。

== 関連 ==
* [[parent::SpriteBatch (日本語)]]
* [[SpriteBatch:getTexture (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Sets the texture ([[Image]] or [[Canvas]]) used for the sprites in the batch.}}
== そのほかの言語 ==
{{i18n (日本語)|SpriteBatch:setTexture}}