4 Replies Latest reply on Dec 13, 2010 2:16 PM by Kevin Goldsmith

    enumValues Element in Pixel Bender Graph

    Royi A Level 1

      Hello.

       

      How can I use enumValues Element in Pixel Bender Graph?

      I tried this:

      <parameter type = "int" name = "Style" >

      <metadata name = "defaultValue" type = "int" value = "0"/>

      <metadata name = "maxValue" type = "int" value = "1" />

      <metadata name = "minValue" type = "int" value = "0" />

      <metadata name = "enumValues" type = "enum" value = "Gold|Brown" />

      <metadata name = "displayName" value = "Style" />

      <metadata name = "aeDisplayName" value = "Style" />

      </parameter>

       

      Yet got an error:

       

      'enum' : type is invalid

       

      How can I create it?

       

      Thanks.