目次 - SDL_image 3.0 - IMG_CloseAnimationDecoder

IMG_CloseAnimationDecoder

アニメーションデコーダをクローズしてデコードを完了する

ヘッダ

SDL3_image/SDL_image.h

構文

bool IMG_CloseAnimationDecoder(IMG_AnimationDecoder *decoder);

引数

IMG_AnimationEncoder *encoderクローズするデコーダ

戻り値

(bool) 成功のとき真, エラーのとき偽を戻す. SDL_GetError()を呼んで詳細を知ることができる.

詳細

この関数を呼ぶとアニメーションデコーダは解放され, デコード処理状態は完了となる.

バージョン

SDL_image 3.4.0以降

関連項目

SDL Wikiへのリンク

SDL3_image/IMG_CloseAnimationDecoder