#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialStateAttributesPy.ogn
Contains templates for node types found in that file."""
)

def OmniGraph "TestGraph"
{
    token evaluator:type = "push"
    int2 fileFormatVersion = (1, 3)
    token flatCacheBacking = "Shared"
    token pipelineStage = "pipelineStageSimulation"

    def OmniGraphNode "Template_omni_graph_tutorials_StateAttributesPy" (
        docs="""This is a tutorial node. It exercises state attributes to remember data from on evaluation to the next."""
    )
    {
        token node:type = "omni.graph.tutorials.StateAttributesPy"
        int node:typeVersion = 1

        # 1 attribute
        custom bool inputs:ignored = false (
            docs="""Ignore me"""
        )

        # 2 attributes
        custom int state:monotonic (
            docs="""The monotonically increasing output value, reset to 0 when the reset value is true"""
        )
        custom bool state:reset = true (
            docs="""If true then the inputs are ignored and outputs are set to default values, then this
            flag is set to false for subsequent evaluations."""
        )
    }
}
