#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialDefaults.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_Defaults" (
        docs="""This is a tutorial node. It will move the values of inputs to corresponding outputs. Inputs all have unspecified, and therefore empty, default values."""
    )
    {
        token node:type = "omni.graph.tutorials.Defaults"
        int node:typeVersion = 1

        # 14 attributes
        custom float[] inputs:a_array = [] (
            docs="""This is an attribute of type array of floats"""
        )
        custom bool inputs:a_bool = false (
            docs="""This is an attribute of type boolean"""
        )
        custom double inputs:a_double = 0.0 (
            docs="""This is an attribute of type 64 bit floating point"""
        )
        custom float inputs:a_float = 0.0 (
            docs="""This is an attribute of type 32 bit floating point"""
        )
        custom half inputs:a_half = 0.0 (
            docs="""This is an attribute of type 16 bit floating point"""
        )
        custom int inputs:a_int = 0 (
            docs="""This is an attribute of type 32 bit integer"""
        )
        custom int2 inputs:a_int2 = (0, 0) (
            docs="""This is an attribute of type 2-tuple of integers"""
        )
        custom int64 inputs:a_int64 = 0 (
            docs="""This is an attribute of type 64 bit integer"""
        )
        custom matrix2d inputs:a_matrix = ((1.0, 0.0), (0.0, 1.0)) (
            docs="""This is an attribute of type 2x2 matrix"""
        )
        custom string inputs:a_string = "" (
            docs="""This is an attribute of type string"""
        )
        custom token inputs:a_token = "" (
            docs="""This is an attribute of type interned string with fast comparison and hashing"""
        )
        custom uchar inputs:a_uchar = 0 (
            docs="""This is an attribute of type unsigned 8 bit integer"""
        )
        custom uint inputs:a_uint = 0 (
            docs="""This is an attribute of type unsigned 32 bit integer"""
        )
        custom uint64 inputs:a_uint64 = 0 (
            docs="""This is an attribute of type unsigned 64 bit integer"""
        )

        # 14 attributes
        custom float[] outputs:a_array (
            docs="""This is a computed attribute of type array of floats"""
        )
        custom bool outputs:a_bool (
            docs="""This is a computed attribute of type boolean"""
        )
        custom double outputs:a_double (
            docs="""This is a computed attribute of type 64 bit floating point"""
        )
        custom float outputs:a_float (
            docs="""This is a computed attribute of type 32 bit floating point"""
        )
        custom half outputs:a_half (
            docs="""This is a computed attribute of type 16 bit floating point"""
        )
        custom int outputs:a_int (
            docs="""This is a computed attribute of type 32 bit integer"""
        )
        custom int2 outputs:a_int2 (
            docs="""This is a computed attribute of type 2-tuple of integers"""
        )
        custom int64 outputs:a_int64 (
            docs="""This is a computed attribute of type 64 bit integer"""
        )
        custom matrix2d outputs:a_matrix (
            docs="""This is a computed attribute of type 2x2 matrix"""
        )
        custom string outputs:a_string (
            docs="""This is a computed attribute of type string"""
        )
        custom token outputs:a_token (
            docs="""This is a computed attribute of type interned string with fast comparison and hashing"""
        )
        custom uchar outputs:a_uchar (
            docs="""This is a computed attribute of type unsigned 8 bit integer"""
        )
        custom uint outputs:a_uint (
            docs="""This is a computed attribute of type unsigned 32 bit integer"""
        )
        custom uint64 outputs:a_uint64 (
            docs="""This is a computed attribute of type unsigned 64 bit integer"""
        )
    }
}
