Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Feedback Missing NonAlloc API to fetch material.shaderKeywords

Discussion in 'Graphics Experimental Previews' started by Prodigga, May 29, 2019.

  1. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
    There isn't any way to fetch the shaderKeywords of a material without allocating a new array. Could we have an api that takes a list (GetShaderKeywords(List<string> output)) please?
     
    Lesnikus5 and Peter77 like this.
  2. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
  3. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
  4. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
  5. Lesnikus5

    Lesnikus5

    Joined:
    May 20, 2016
    Posts:
    131