#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialTupleData.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_tutorials_TupleData" (
        docs="""This is a tutorial node. It creates both an input and output attribute of some of the supported  tuple types. The values are modified in a simple way so that the compute can be tested."""
    )
    {
        token node:type = "omni.tutorials.TupleData"
        int node:typeVersion = 1

        # 6 attributes
        custom double2 inputs:a_double2 = (1.1, 2.2) (
            docs="""This is an attribute with two double values"""
        )
        custom double3 inputs:a_double3 = (1.1, 2.2, 3.3) (
            docs="""This is an attribute with three double values"""
        )
        custom float2 inputs:a_float2 = (4.4, 5.5) (
            docs="""This is an attribute with two float values"""
        )
        custom float3 inputs:a_float3 = (6.6, 7.7, 8.8) (
            docs="""This is an attribute with three float values"""
        )
        custom half2 inputs:a_half2 = (7.0, 8.0) (
            docs="""This is an attribute with two 16-bit float values"""
        )
        custom int2 inputs:a_int2 = (10, 11) (
            docs="""This is an attribute with two 32-bit integer values"""
        )

        # 6 attributes
        custom double2 outputs:a_double2 (
            docs="""This is a computed attribute with two double values"""
        )
        custom double3 outputs:a_double3 (
            docs="""This is a computed attribute with three double values"""
        )
        custom float2 outputs:a_float2 (
            docs="""This is a computed attribute with two float values"""
        )
        custom float3 outputs:a_float3 (
            docs="""This is a computed attribute with three float values"""
        )
        custom half2 outputs:a_half2 (
            docs="""This is a computed attribute with two 16-bit float values"""
        )
        custom int2 outputs:a_int2 (
            docs="""This is a computed attribute with two 32-bit integer values"""
        )
    }
}
