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

Method GetDecodeYUY2PS

Source/Engine/Graphics/GPUDevice.cpp:873–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873GPUPipelineState* GPUDevice::GetDecodeYUY2PS() const
874{
875 if (_res->PS_DecodeYUY2 == nullptr)
876 {
877 auto psDesc = GPUPipelineState::Description::DefaultFullscreenTriangle;
878 psDesc.PS = QuadShader->GetPS("PS_DecodeYUY2");
879 _res->PS_DecodeYUY2 = const_cast<GPUDevice*>(this)->CreatePipelineState();
880 _res->PS_DecodeYUY2->Init(psDesc);
881 }
882 return _res->PS_DecodeYUY2;
883}
884
885GPUPipelineState* GPUDevice::GetDecodeNV12PS() const
886{

Callers 1

runMethod · 0.80

Calls 3

GetPSMethod · 0.45
CreatePipelineStateMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected