Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_LightSet.cpp38 LightSet* lightSet = new(memory) LightSet( in Create() local
46lightSet->m_VertexLights = VertexLightArray(memoryArray, m_Description.maxVertexLights, allocator); in Create()
50 lightSet->m_VertexLights = VertexLightArray(allocator); in Create()
53 return lightSet; in Create()
72 LightSet* lightSet = new(memory) LightSet( in Create() local
80lightSet->m_VertexLights = VertexLightArray(memoryArray, description.maxVertexLights, allocator); in Create()
84 lightSet->m_VertexLights = VertexLightArray(allocator); in Create()
87 return lightSet; in Create()
Dgfx_SceneEnvironment.cpp66 LightSet* lightSet = (*lightSetBinder).lightSet.Get(); in ApplyFrom() local
69 m_LightSets[lightSetIndex] = lightSet; in ApplyFrom()
159 LightSet* lightSet = this->m_LightSets[index]; in SetActiveLightSet() local
163 if ((lightSet != NULL) && (m_LightSetIndex != index)) in SetActiveLightSet()
167 AmbientLight* ambientLight = lightSet->GetAmbientLight(); in SetActiveLightSet()
174 HemiSphereLight* hemiSphereLight = lightSet->GetHemiSphereLight(); in SetActiveLightSet()
183 VertexLightArray::iterator vertexLightEnd = lightSet->GetVertexLightEnd(); in SetActiveLightSet()
184 for (VertexLightArray::iterator iter = lightSet->GetVertexLightBegin(); in SetActiveLightSet()
203 FixedFragmentLightArray::iterator fragmentLightEnd = lightSet->GetFragmentLightEnd(); in SetActiveLightSet()
204 for (FixedFragmentLightArray::iterator iter = lightSet->GetFragmentLightBegin(); in SetActiveLightSet()
Dgfx_SceneEnvironmentSetting.cpp76 … m_LightSets[lightSetIndex].lightSet = GfxPtr<LightSet>(LightSet::Create((*iter), allocator)); in CreateEnvironmentArray()
155 LightSet* lightSet = this->m_LightSets[lightSetIndex].lightSet.Get(); in ResolveReference() local
156 NW_ASSERT(lightSet != NULL); in ResolveReference()
157 lightSet->ClearAll(); in ResolveReference()
172 lightSet->SetAmbientLight(*foundAmbient); in ResolveReference()
180 lightSet->SetHemiSphereLight(*foundHemiSphere); in ResolveReference()
189 lightSet->SetVertexLight(*foundVertex); in ResolveReference()
198 lightSet->SetFragmentLight(*foundFragment); in ResolveReference()
221 LightSet* lightSet = iter->lightSet.Get(); in Clear() local
222 NW_ASSERT(lightSet != NULL); in Clear()
[all …]
/NW4C-2.0.3/include/nw/gfx/
Dgfx_SceneEnvironment.h168 void SetLightSet(int index, LightSet* lightSet) in SetLightSet() argument
171 m_LightSets[index] = lightSet; in SetLightSet()
Dgfx_SceneEnvironmentSetting.h54 GfxPtr<LightSet> lightSet; member