MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / render

Method render

src/Abyss/Streams/VideoStream.cpp:262–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void VideoStream::render() const {
263 if (!_framesReady)
264 return;
265 SDL_RenderCopy(Singletons::getRendererProvider().getRenderer(), _texture.get(), &_sourceRect, &_targetRect);
266}
267
268void VideoStream::stopVideo() { _isPlaying = false; }
269

Callers

nothing calls this directly

Calls 1

getRendererMethod · 0.80

Tested by

no test coverage detected