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

Method UseTextureData

Source/Engine/Renderer/ProbesRenderer.cpp:176–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176bool ProbeEntry::UseTextureData() const
177{
178 if (Type == Types::EnvProbe && Actor)
179 {
180 switch (Actor.As<EnvironmentProbe>()->UpdateMode)
181 {
182 case EnvironmentProbe::ProbeUpdateMode::Realtime:
183 return false;
184 }
185 }
186 return true;
187}
188
189int32 ProbeEntry::GetResolution() const
190{

Callers 3

UpdateMethod · 0.80
BakeMethod · 0.80
OnRenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected