LoadImageAnim method
Implementation
@override
ImageD LoadImageAnim(
String fileName,
) => run(
() => RaylibDebugLabels.LoadImageAnim(fileName),
() {
final frames = rl.Temp.Int$.Ref1();
final image = rl.Temp.Image$.RefCapture(
RaylibCaptureIds.LoadImageAnim(fileName),
(_) => rl.Core.LoadImageAnim(
rl.Temp.String$.ValueOrNull(fileName),
frames,
),
);
image.structUpdateFrameCount(frames.value);
return image;
},
);