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

Method UseGPU

Source/Engine/Particles/Particles.Build.cs:17–21  ·  view source on GitHub ↗

Determinates whenever GPU particles simulation should be enabled for a given build. The options. True if use GPU particles, otherwise false.

(BuildOptions options)

Source from the content-addressed store, hash-verified

15 /// <param name="options">The options.</param>
16 /// <returns>True if use GPU particles, otherwise false.</returns>
17 public static bool UseGPU(BuildOptions options)
18 {
19 // TODO: disable GPU particles support in build for low-end platforms
20 return true;
21 }
22
23 /// <inheritdoc />
24 public override void Setup(BuildOptions options)

Callers 1

SetupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected