Home
last modified time | relevance | path

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

/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_GraphicsDevice.cpp84 GraphicsDevice::ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target) in ActivateLookupTable() argument
86 NW_ASSERT(lookupTable.IsValid()); in ActivateLookupTable()
89 if (m_LutTargets[target] != lookupTable) in ActivateLookupTable()
91 m_LutTargets[target] = lookupTable; in ActivateLookupTable()
93 internal::NWUseCmdlist( lookupTable.GetCommandCache(), lookupTable.GetCommandCacheCount() ); in ActivateLookupTable()
99 GraphicsDevice::InvalidateLookupTable(ResImageLookupTable lookupTable) in InvalidateLookupTable() argument
101 NW_ASSERT(lookupTable.IsValid()); in InvalidateLookupTable()
105 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.2.23/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.2.23/include/nw/gfx/res/
Dgfx_ResLight.h280 void SetDistanceSampler(ResImageLookupTable lookupTable) in NW_RES_CTOR_INHERIT()
282 NW_ASSERT(lookupTable.IsValid()); in NW_RES_CTOR_INHERIT()
284 referenceLut.ref().toTargetLut.set_ptr(lookupTable.ptr()); in NW_RES_CTOR_INHERIT()
Dgfx_ResFragmentShader.h447 void SetSampler(ResLookupTable lookupTable) in SetSampler() argument
449 NW_ASSERT(lookupTable.IsValid()); in SetSampler()
450 ResImageLookupTable resImageLookupTable = lookupTable.Dereference(); in SetSampler()