Searched refs:lookupTable (Results 1 – 5 of 5) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_GraphicsDevice.cpp | 82 GraphicsDevice::ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target) in ActivateLookupTable() argument 84 NW_ASSERT(lookupTable.IsValid()); in ActivateLookupTable() 87 if (m_LutTargets[target] != lookupTable) in ActivateLookupTable() 89 m_LutTargets[target] = lookupTable; in ActivateLookupTable() 91 internal::NWUseCmdlist( lookupTable.GetCommandCache(), lookupTable.GetCommandCacheCount() ); in ActivateLookupTable() 97 GraphicsDevice::InvalidateLookupTable(ResImageLookupTable lookupTable) in InvalidateLookupTable() argument 99 NW_ASSERT(lookupTable.IsValid()); in InvalidateLookupTable() 103 if (m_LutTargets[target] == lookupTable) in InvalidateLookupTable()
|
| D | gfx_MaterialState.cpp | 118 ResImageLookupTable lookupTable; in ActivateFragmentLightingTable() local 127 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable() 129 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RR, lookupTable.IsAbs() ); in ActivateFragmentLightingTable() 133 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RR); in ActivateFragmentLightingTable() 143 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable() 145 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RG, lookupTable.IsAbs() ); in ActivateFragmentLightingTable() 149 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RG); in ActivateFragmentLightingTable() 159 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable() 161 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RB, lookupTable.IsAbs() ); in ActivateFragmentLightingTable() 165 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RB); in ActivateFragmentLightingTable() [all …]
|
| /NW4C-2.0.3/include/nw/gfx/res/ |
| D | gfx_ResFragmentShader.h | 460 void SetSampler(ResLookupTable lookupTable) in SetSampler() argument 462 NW_ASSERT(lookupTable.IsValid()); in SetSampler() 463 ResImageLookupTable resImageLookupTable = lookupTable.Dereference(); in SetSampler() 474 void ForceSetupSampler(const char* targetName, ResLookupTable lookupTable) in ForceSetupSampler() argument 476 NW_ASSERT(lookupTable.IsValid()); in ForceSetupSampler() 478 ResImageLookupTable resImageLookupTable = lookupTable.Dereference(); in ForceSetupSampler() 542 void ForceSetupLightingLut(const char* targetName, ResLookupTable lookupTable) in ForceSetupLightingLut() argument 544 NW_ASSERT(lookupTable.IsValid()); in ForceSetupLightingLut() 549 GetReflectanceRSampler().ForceSetupSampler(targetName, lookupTable); in ForceSetupLightingLut() 554 GetReflectanceGSampler().ForceSetupSampler(targetName, lookupTable); in ForceSetupLightingLut() [all …]
|
| D | gfx_ResLight.h | 283 void SetDistanceSampler(ResImageLookupTable lookupTable) in NW_RES_CTOR_INHERIT() 285 NW_ASSERT(lookupTable.IsValid()); in NW_RES_CTOR_INHERIT() 287 referenceLut.ref().toTargetLut.set_ptr(lookupTable.ptr()); in NW_RES_CTOR_INHERIT() 356 void ForceSetupDistanceSampler(const char* targetName, ResLookupTable lookupTable) in NW_RES_FIELD_BOOL_PRIMITIVE_DECL() 358 NW_ASSERT(lookupTable.IsValid()); in NW_RES_FIELD_BOOL_PRIMITIVE_DECL() 360 referenceLut.ForceSetup(targetName, lookupTable); in NW_RES_FIELD_BOOL_PRIMITIVE_DECL()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_GraphicsDevice.h | 350 static void ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target); 357 static void InvalidateLookupTable(ResImageLookupTable lookupTable); 474 …NLINE void ActivateFragmentLightDistanceAttnTable(int index, const ResImageLookupTable lookupTable) in ActivateFragmentLightDistanceAttnTable() argument 478 GraphicsDevice::ActivateLookupTable(lookupTable, tableTarget); in ActivateFragmentLightDistanceAttnTable() 487 …tic NW_INLINE void ActivateFragmentLightSpotTable(int index, const ResImageLookupTable lookupTable) in ActivateFragmentLightSpotTable() argument 491 GraphicsDevice::ActivateLookupTable(lookupTable, tableTarget); in ActivateFragmentLightSpotTable()
|