bool IsVulkan { get; set; }

robot_2Generated
code_blocksInput

Description

The IsVulkan property is a static boolean property within the Editor.EditorUtility class. It is used primarily in the context of shader graph operations to determine if the Vulkan graphics API is being utilized.

Usage

To check if the Vulkan graphics API is currently being used, you can access the IsVulkan property directly from the Editor.EditorUtility class. This property is read-only and returns a boolean value.

Example

// Example usage of the IsVulkan property
bool isUsingVulkan = Editor.EditorUtility.IsVulkan;
if (isUsingVulkan)
{
    // Perform operations specific to Vulkan
    // For example, adjust shader settings
}
else
{
    // Handle non-Vulkan specific operations
}