struct MAGES::Editor::QualityLevelSettings

Overview

A strut containing the necessary info of a Quality Settings Level. More…

struct QualityLevelSettings
{
    // properties

    string LevelName;
    Object CustomRenderingPipeline;
    bool RealtimeReflectionProbes;
    float ResolutionScalingFixedDPIFactor;
    int SyncCount;
    int RealtimeGICPUUsage;
    int GlobalTextureMipmapLimit;
    int AnisotropicTextures;
    bool StreamingMipmapsActive;
    int ParticleRaycastBudget;
    bool BillboardsFaceCameraPosition;
    bool UseLegacyDetailDistribution;
    int ShadowmaskMode;
    int AsyncUploadTimeSlice;
    int AsyncUploadBufferSize;
    bool AsyncUploadPersistentBuffer;
    float LodBias;
    int MaximumLODLevel;
    int SkinWeights;

    // methods

    QualityLevelSettings(
        string levelName,
        Object customRenderingPipeline,
        bool realtimeReflectionProbes,
        float resolutionScalingFixedDPIFactor,
        int syncCount,
        int realtimeGICPUUsage,
        int globalTextureMipmapLimit,
        int anisotropicTextures,
        bool streamingMipmapsActive,
        int particleRaycastBudget,
        bool billboardsFaceCameraPosition,
        bool useLegacyDetailDistribution,
        int shadowmaskMode,
        int asyncUploadTimeSlice,
        int asyncUploadBufferSize,
        bool asyncUploadPersistentBuffer,
        float lodBias,
        int maximumLODLevel,
        int skinWeights
    );
};

Detailed Documentation

A strut containing the necessary info of a Quality Settings Level.

Properties

string LevelName

Gets the level name.

Object CustomRenderingPipeline

Gets or sets the custom rendering pipeline.

bool RealtimeReflectionProbes

GEts a value indicating whether realtime reflection probes are allowed.

float ResolutionScalingFixedDPIFactor

Gets the resolution scaling fixed DPI factor.

int SyncCount

Gets the vSyncCount.

int RealtimeGICPUUsage

Gets the realtime GI CPU usage.

int GlobalTextureMipmapLimit

Gets the global mipmap limit.

int AnisotropicTextures

Gets the anisotropic textures.

bool StreamingMipmapsActive

Gets a value indicating whether texture streaming is enabled.

int ParticleRaycastBudget

Gets the particle raycast budget.

bool BillboardsFaceCameraPosition

Gets a value indicating whether the bollboards face camera position is enabled.

bool UseLegacyDetailDistribution

Gets a value indicating whether legacy details distribution are used.

int ShadowmaskMode

Gets the shadowmask mode.

int AsyncUploadTimeSlice

Gets the async upload time slice.

int AsyncUploadBufferSize

Gets The async upload buffer size.

bool AsyncUploadPersistentBuffer

Gets a value indicating whether async upload peristent buffer is enabled.

float LodBias

Gets the lod bias.

int MaximumLODLevel

Gets the Maximum LOD Level.

int SkinWeights

Gets the Skin Weights.

Methods

QualityLevelSettings(
    string levelName,
    Object customRenderingPipeline,
    bool realtimeReflectionProbes,
    float resolutionScalingFixedDPIFactor,
    int syncCount,
    int realtimeGICPUUsage,
    int globalTextureMipmapLimit,
    int anisotropicTextures,
    bool streamingMipmapsActive,
    int particleRaycastBudget,
    bool billboardsFaceCameraPosition,
    bool useLegacyDetailDistribution,
    int shadowmaskMode,
    int asyncUploadTimeSlice,
    int asyncUploadBufferSize,
    bool asyncUploadPersistentBuffer,
    float lodBias,
    int maximumLODLevel,
    int skinWeights
)

Initializes a new instance of the QualityLevelSettings struct.

Parameters:

levelName

The level name.

customRenderingPipeline

The custom rendering pipeline.

realtimeReflectionProbes

Whether realtime reflection probes are allowed.

resolutionScalingFixedDPIFactor

The resolution scaling fixed DPI factor.

syncCount

The vSyncCount.

realtimeGICPUUsage

The realtime GI CPU usage.

globalTextureMipmapLimit

The global mipmap limit.

anisotropicTextures

The anisotropic textures.

streamingMipmapsActive

Whether texture streaming is enabled.

particleRaycastBudget

The particle raycast budget.

billboardsFaceCameraPosition

Whether the bollboards face camera position is enabled.

useLegacyDetailDistribution

Whether legacy details distribution are used.

shadowmaskMode

The shadowmask mode.

asyncUploadTimeSlice

The async upload time slice.

asyncUploadBufferSize

The async upload buffer size.

asyncUploadPersistentBuffer

Whether async upload peristent buffer is enabled.

lodBias

The lod bias.

maximumLODLevel

The Maximum LOD Level.

skinWeights

The Skin Weights.