Home
last modified time | relevance | path

Searched refs:lookupTable (Results 1 – 5 of 5) sorted by relevance

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_GraphicsDevice.cpp80 GraphicsDevice::ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target) in ActivateLookupTable() argument
82 NW_ASSERT(lookupTable.IsValid()); in ActivateLookupTable()
85 if (m_LutTargets[target] != lookupTable) in ActivateLookupTable()
87 m_LutTargets[target] = lookupTable; in ActivateLookupTable()
89 internal::NWUseCmdlist( lookupTable.GetCommandCache(), lookupTable.GetCommandCacheCount() ); in ActivateLookupTable()
95 GraphicsDevice::InvalidateLookupTable(ResImageLookupTable lookupTable) in InvalidateLookupTable() argument
97 NW_ASSERT(lookupTable.IsValid()); in InvalidateLookupTable()
101 if (m_LutTargets[target] == lookupTable) in InvalidateLookupTable()
Dgfx_MaterialState.cpp116 ResImageLookupTable lookupTable; in ActivateFragmentLightingTable() local
125 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
127 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RR, lookupTable.IsAbs() ); in ActivateFragmentLightingTable()
131 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RR); in ActivateFragmentLightingTable()
141 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
143 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RG, lookupTable.IsAbs() ); in ActivateFragmentLightingTable()
147 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RG); in ActivateFragmentLightingTable()
157 lookupTable = lightingLookupTable.GetSampler().Dereference(); in ActivateFragmentLightingTable()
159 GraphicsDevice::SetLutIsAbs( GraphicsDevice::LUT_TARGET_RB, lookupTable.IsAbs() ); in ActivateFragmentLightingTable()
163 GraphicsDevice::ActivateLookupTable(lookupTable, GraphicsDevice::LUT_TARGET_RB); in ActivateFragmentLightingTable()
[all …]
/NW4C-1.3.3/include/nw/gfx/
Dgfx_GraphicsDevice.h348 static void ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target);
355 static void InvalidateLookupTable(ResImageLookupTable lookupTable);
472 …NLINE void ActivateFragmentLightDistanceAttnTable(int index, const ResImageLookupTable lookupTable) in ActivateFragmentLightDistanceAttnTable() argument
476 GraphicsDevice::ActivateLookupTable(lookupTable, tableTarget); in ActivateFragmentLightDistanceAttnTable()
485 …tic NW_INLINE void ActivateFragmentLightSpotTable(int index, const ResImageLookupTable lookupTable) in ActivateFragmentLightSpotTable() argument
489 GraphicsDevice::ActivateLookupTable(lookupTable, tableTarget); in ActivateFragmentLightSpotTable()
/NW4C-1.3.3/include/nw/gfx/res/
Dgfx_ResLight.h281 void SetDistanceSampler(ResImageLookupTable lookupTable) in NW_RES_CTOR_INHERIT()
283 NW_ASSERT(lookupTable.IsValid()); in NW_RES_CTOR_INHERIT()
285 referenceLut.ref().toTargetLut.set_ptr(lookupTable.ptr()); in NW_RES_CTOR_INHERIT()
Dgfx_ResFragmentShader.h458 void SetSampler(ResLookupTable lookupTable) in SetSampler() argument
460 NW_ASSERT(lookupTable.IsValid()); in SetSampler()
461 ResImageLookupTable resImageLookupTable = lookupTable.Dereference(); in SetSampler()