LCOV - code coverage report
Current view: top level - Core/Materials - OOCombinedEmissionMapGenerator.h (source / functions) Hit Total Coverage
Test: coverxygen.info Lines: 0 20 0.0 %
Date: 2025-06-23 16:19:27 Functions: 0 0 -

          Line data    Source code
       1           0 : /*
       2             : 
       3             : OOCombinedEmissionMapGenerator.h
       4             : 
       5             : Generator which renders a single RGB emission map from some combination of
       6             : emission_map, emission, illumination_map, illumination_color and
       7             : emission_and_illumination_map parameters.
       8             : 
       9             : 
      10             : Copyright (C) 2010-2013 Jens Ayton
      11             : 
      12             : Permission is hereby granted, free of charge, to any person obtaining a copy
      13             : of this software and associated documentation files (the "Software"), to deal
      14             : in the Software without restriction, including without limitation the rights
      15             : to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
      16             : copies of the Software, and to permit persons to whom the Software is
      17             : furnished to do so, subject to the following conditions:
      18             : 
      19             : The above copyright notice and this permission notice shall be included in all
      20             : copies or substantial portions of the Software.
      21             : 
      22             : THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
      23             : IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
      24             : FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
      25             : AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
      26             : LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
      27             : OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      28             : SOFTWARE.
      29             : 
      30             : */
      31             : 
      32             : 
      33             : #import "OOTextureGenerator.h"
      34             : 
      35             : @class OOColor;
      36             : 
      37             : 
      38           0 : @interface OOCombinedEmissionMapGenerator: OOTextureGenerator
      39             : {
      40             : @private
      41           0 :         NSString                                        *_cacheKey;
      42             :         
      43           0 :         NSDictionary                            *_emissionSpec;
      44           0 :         NSDictionary                            *_illuminationSpec;
      45           0 :         OOTexture                                       *_diffuseMap;
      46             :         
      47           0 :         OOPixMap                                        _emissionPx;
      48           0 :         OOPixMap                                        _diffusePx;
      49           0 :         OOPixMap                                        _illuminationPx;
      50           0 :         OOColor                                         *_emissionColor;
      51           0 :         OOColor                                         *_illuminationColor;
      52           0 :         BOOL                                            _isCombinedMap;
      53             :         
      54           0 :         uint32_t                                        _textureOptions;
      55           0 :         GLfloat                                         _anisotropy;
      56           0 :         GLfloat                                         _lodBias;
      57             :         
      58             : #ifndef NDEBUG
      59           0 :         NSString                                        *_emissionDesc;
      60           0 :         NSString                                        *_illuminationDesc;
      61           0 :         NSString                                        *_diffuseDesc;
      62             : #endif
      63             : }
      64             : 
      65           0 : - (id) initWithEmissionMapSpec:(NSDictionary *)emissionMapSpec
      66             :                                  emissionColor:(OOColor *)emissionColor
      67             :                                         diffuseMap:(OOTexture *)diffuseMap
      68             :                                   diffuseColor:(OOColor *)diffuseColor
      69             :                    illuminationMapSpec:(NSDictionary *)illuminationMapSpec
      70             :                          illuminationColor:(OOColor *)illuminationColor
      71             :                           optionsSpecifier:(NSDictionary *)spec;
      72             : 
      73           0 : - (id) initWithEmissionAndIlluminationMapSpec:(NSDictionary *)emissionAndIlluminationMapSpec
      74             :                                                                    diffuseMap:(OOTexture *)diffuseMap
      75             :                                                                  diffuseColor:(OOColor *)diffuseColor
      76             :                                                                 emissionColor:(OOColor *)emissionColor
      77             :                                                         illuminationColor:(OOColor *)illuminationColor
      78             :                                                          optionsSpecifier:(NSDictionary *)spec;
      79             : 
      80             : @end

Generated by: LCOV version 1.14