[package]
version = "1.0.11"
title = "Omniverse Kit RTX Hydra Texture"

[dependencies]
"omni.kit.renderer.core" = {}
"omni.usd" = {}
"omni.hydra.rtx" = { optional=true }
"omni.hydra.iray" = { optional=true }
"omni.hydra.pxr" = { optional=true }

[[python.module]]
name = "omni.kit.hydra_texture"

[[native.plugin]]
path = "bin/${platform}/${config}/*.plugin"

[[test]]
args = [
    "--/renderer/enabled=pxr",
    "--/renderer/active=pxr",
    "--/renderer/multiGpu/enabled=false",
    "--/renderer/multiGpu/autoEnable=false", # Disable mGPU with PXR due to OM-51026, OM-53611
    "--/renderer/multiGpu/maxGpuCount=1",
    "--/app/asyncRendering=false",
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--no-window"
]

dependencies = [
    "omni.hydra.pxr",
    "omni.ui"
]
stdoutFailPatterns.exclude = [
    # Engine ownership on default UsdContext is still undefined due to Viewport-1
    # and GPUFoundation prevents the test from spinning up too many custom UsdContexts
    "*UsdManager::destroyContext invoked on context with active hydra engines*",
    # Can drop a frame or two rendering with OpenGL interop
    "*HydraRenderer failed to render this frame*",
]

# RTX regression OM-51983
timeout = 600
