{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Generates mipmaps for the Canvas, based on the contents of the highest-resolution mipmap level.

The Canvas must be [[love.graphics.newCanvas|created]] with mipmaps set to a [[MipmapMode]] other than "none" for this function to work. It should only be called while the Canvas is not the active render target.

If the mipmap mode is set to "auto", this function is automatically called inside [[love.graphics.setCanvas]] when switching from this Canvas to another Canvas or to the main screen.
== 関数 ==
=== 概要 ===
<source lang="lua">
Canvas:generateMipmaps( )
</source>
=== 引数 ===
なし。
=== 返値 ===
ありません。
== 関連 ==
* [[parent::Canvas (日本語)]]
* [[love.graphics.newCanvas (日本語)]]
* [[Canvas:getMipmapMode (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Generates mipmaps for the Canvas, based on the contents of the highest-resolution mipmap level.}}
== そのほかの言語 ==
{{i18n (日本語)|Canvas:generateMipmaps}}