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

How to get LitMaterialBGFX?

Discussion in 'Project Tiny' started by gtk2k, Apr 10, 2021.

  1. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    var materialBGFX = EntityManager.GetComponentData<LitMaterialBGFX>(materialEntity);

    I occured error.
     
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Hi,
    why do you want to get LitMaterialBGFX?
    and what error are you getting?
     
  3. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    I want texture handle (pointer).