Module |
|
Header |
/Engine/Source/Runtime/Landscape/Classes/LandscapePhysicalMaterial.h |
Include |
#include "LandscapePhysicalMaterial.h" |
class FLandscapePhysicalMaterialRenderTask
A single task for calculating the landscape physical material. The work uses the GPU so this object handles reading back the data without stalling. We need to call Tick() until IsComplete() returns true. We need to call Release() after use to prevent leaking of internal objects. All calls are expected to be made on the game thread only.
Name | Description | |
---|---|---|
|
FLandscapePhysicalMaterialRenderTask() |
Task constructs with IsValid() false. |
Name | Description | |
---|---|---|
|
~FLandscapePhysicalMaterialRenderTask() |
Name | Description | ||
---|---|---|---|
|
Flush() |
Flush a task to completion. This may stall waiting for completion. |
|
|
GetResultIds() |
Get the result data. |
|
|
TArray< clas... |
GetResultMaterials() |
Get the result data. |
|
Init ( |
Initialize the task for a component. |
|
|
IsComplete() |
Returns true if the task is complete and the result is available. |
|
|
IsValid() |
||
|
Release() |
Release the task. |
|
|
Tick() |
Update a task. Does nothing if the task is complete. |