Search Unity

EditorGUILayout ScrollView not culling

Discussion in 'Editor & General Support' started by Baraphor, Dec 20, 2017.

  1. Baraphor

    Baraphor

    Joined:
    Nov 16, 2016
    Posts:
    32
    Hello,

    So I have a EditorGUILayout.BeginScrollView which does not cull textures drawn with EditorGUI.DrawPreviewTexture if there is a custom material set, I am just using the UI/Default shader.

    What solutions are there to fix this problem?


    Screenshot_1.png
     
  2. tcz8

    tcz8

    Joined:
    Aug 20, 2015
    Posts:
    504
    I know this is an old post, but I've been looking into this myself and I'm not sure it's suposed to be culling.

    The little info I have read so far, and nothing official, seems to suggest you have to do the culling yourself.