Files
FlaxEngine/Source/Engine/Graphics/RenderTask.cs
2022-11-02 20:29:59 +01:00

44 lines
1012 B
C#

// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
partial class RenderTask
{
/// <summary>
/// The custom tag object value linked to the rendering task.
/// </summary>
public object Tag;
}
partial class SceneRenderTask
{
/// <summary>
/// Gets or sets the view flags (via <see cref="View"/> property).
/// </summary>
public ViewFlags ViewFlags
{
get => View.Flags;
set
{
var view = View;
view.Flags = value;
View = view;
}
}
/// <summary>
/// Gets or sets the view mode (via <see cref="View"/> property).
/// </summary>
public ViewMode ViewMode
{
get => View.Mode;
set
{
var view = View;
view.Mode = value;
View = view;
}
}
}
}