[package]
# Semantic Versioning is used: https://semver.org/
version = "0.6.4"

# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]

# The title and description fields are primarily for displaying extension info in UI
title = "Iray Renderer Settings"
description="All the settings to Control Iray"

# Path (relative to the root) or content of readme markdown file for UI.
readme  = "docs/README.md"

# URL of the extension source repository.
repository = ""

# One of categories for UI.
category = "Rendering"

# Keywords for the extension
keywords = ["kit", "iray", "rendering"]

# Location of change log file in target (final) folder of extension, relative to the root. Can also be just a content
# of it instead of file path. More info on writing changelog: https://keepachangelog.com/en/1.0.0/
changelog="docs/CHANGELOG.md"

# Preview image and icon. Folder named "data" automatically goes in git lfs (see .gitattributes file).
# Preview image is shown in "Overview" of Extensions window. Screenshot of an extension might be a good preview image.
preview_image = "data/preview.png"

# Icon is shown in Extensions window, it is recommended to be square, of size 256x256.
icon = "data/icon.png"

# this need to be activated with iray on starup 
toggleable = false

[dependencies]
"omni.kit.commands" = {}
"omni.ui" = {}
"omni.rtx.window.settings" = {}
# Should always load after omni.hydra.iray, but keep as an optional dependency
"omni.hydra.iray" = {optional = true}

# Main python module this extension provides, it will be publicly available as "import omni.example.hello".
[[python.module]]
name = "omni.iray.settings.core"


[[test]]

# Linux: rtx/iray/TexCopyIray.compute.hlsl issue
viewport_legacy_only = true

args = [
    # OM-20773, OM-25786, OM-20773: Shutdown ordering of GPU foundation casuing issues.
    "--/app/fastShutdown=true",
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--/renderer/enabled=iray",
    "--/renderer/active=iray",
    "--/app/renderer/resolution/width=128",
    "--/app/renderer/resolution/height=128",
    "--no-window"
]

dependencies = [
    "omni.kit.renderer.capture",
    "omni.kit.mainwindow",
    "omni.kit.ui_test",
    "omni.hydra.iray",
    "omni.kit.window.viewport",
]

stdoutFailPatterns.exclude = [
    "*[Error] [gpu.foundation.plugin]*",
    "*[Error] [carb.scenerenderer-iray.plugin] Failed to create rtx::postprocessing::TonemappingContext*"
]

unreliable = true # OM-54840

pythonTests.unreliable = [
    "*test_combo_box_setting", # OM-53610
    "*test_int_setting", # OM-53610
]
