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

Method Init

Source/Engine/Renderer/GI/DynamicDiffuseGlobalIllumination.cpp:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bool DynamicDiffuseGlobalIlluminationPass::Init()
191{
192 // Check platform support
193 const auto device = GPUDevice::Instance;
194 _supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad;
195 return false;
196}
197
198bool DynamicDiffuseGlobalIlluminationPass::setupResources()
199{

Callers 1

setupResourcesMethod · 0.45

Calls 1

GetFeatureLevelMethod · 0.45

Tested by

no test coverage detected