Exemple #1
0
 public VRMMaterialImporter(ImporterContext context, List <glTF_VRM_Material> materials) : base(new ShaderStore(context), (int index) => context.GetTexture(index))
 {
     m_materials = materials;
 }
Exemple #2
0
 public VCIMaterialImporter(ImporterContext context, List <glTF_VCI_Material> materials, bool srgbToLinearColor) : base(
         new ShaderStore(context), (int index) => context.GetTexture(index))
 {
     m_materials         = materials;
     m_srgbToLinearColor = srgbToLinearColor;
 }