mrumtl

Describe materials that vary spectrally
git clone git://git.meso-star.fr/mrumtl.git
Log | Files | Refs | README | LICENSE

mrumtl_c.h (1128B)


      1 /* Copyright (C) 2020-2023 |Méso|Star> (contact@meso-star.com)
      2  *
      3  * This program is free software: you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License as published by
      5  * the Free Software Foundation, either version 3 of the License, or
      6  * (at your option) any later version.
      7  *
      8  * This program is distributed in the hope that it will be useful,
      9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11  * GNU General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU General Public License
     14  * along with this program. If not, see <http://www.gnu.org/licenses/>. */
     15 
     16 #ifndef MRUMTL_C_H
     17 #define MRUMTL_C_H
     18 
     19 #include "mrumtl_brdf.h"
     20 
     21 #include <rsys/mem_allocator.h>
     22 #include <rsys/logger.h>
     23 #include <rsys/ref_count.h>
     24 #include <rsys/str.h>
     25 
     26 struct mrumtl {
     27   struct darray_brdf brdfs;
     28   struct str name; /* Name of the loaded material */
     29 
     30   int verbose;
     31   struct logger* logger;
     32   struct logger logger__;
     33   struct mem_allocator* allocator;
     34   ref_T ref;
     35 };
     36 
     37 #endif /* MRUMTL_C_H */