MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / InitVideoFrame

Method InitVideoFrame

Source/Engine/Video/Video.cpp:305–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void VideoBackendPlayer::InitVideoFrame()
306{
307 if (!GPUDevice::Instance)
308 return;
309 if (!Frame)
310 Frame = GPUDevice::Instance->CreateTexture(TEXT("VideoFrame"));
311}
312
313void VideoBackendPlayer::UpdateVideoFrame(Span<byte> data, TimeSpan time, TimeSpan duration)
314{

Callers 1

PlayMethod · 0.80

Calls 1

CreateTextureMethod · 0.45

Tested by

no test coverage detected