Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_LightSet.cpp36 LightSet* lightSet = new(memory) LightSet( in Create() local
44lightSet->m_VertexLights = VertexLightArray(memoryArray, m_Description.maxVertexLights, allocator); in Create()
48 lightSet->m_VertexLights = VertexLightArray(allocator); in Create()
51 return lightSet; in Create()
70 LightSet* lightSet = new(memory) LightSet( in Create() local
78lightSet->m_VertexLights = VertexLightArray(memoryArray, description.maxVertexLights, allocator); in Create()
82 lightSet->m_VertexLights = VertexLightArray(allocator); in Create()
85 return lightSet; in Create()
Dgfx_SceneEnvironment.cpp64 LightSet* lightSet = (*lightSetBinder).lightSet.Get(); in ApplyFrom() local
67 m_LightSets[lightSetIndex] = lightSet; in ApplyFrom()
157 LightSet* lightSet = this->m_LightSets[index]; in SetActiveLightSet() local
161 if ((lightSet != NULL) && (m_LightSetIndex != index)) in SetActiveLightSet()
165 AmbientLight* ambientLight = lightSet->GetAmbientLight(); in SetActiveLightSet()
172 HemiSphereLight* hemiSphereLight = lightSet->GetHemiSphereLight(); in SetActiveLightSet()
181 VertexLightArray::iterator vertexLightEnd = lightSet->GetVertexLightEnd(); in SetActiveLightSet()
182 for (VertexLightArray::iterator iter = lightSet->GetVertexLightBegin(); in SetActiveLightSet()
201 FixedFragmentLightArray::iterator fragmentLightEnd = lightSet->GetFragmentLightEnd(); in SetActiveLightSet()
202 for (FixedFragmentLightArray::iterator iter = lightSet->GetFragmentLightBegin(); in SetActiveLightSet()
Dgfx_SceneEnvironmentSetting.cpp74 … m_LightSets[lightSetIndex].lightSet = GfxPtr<LightSet>(LightSet::Create((*iter), allocator)); in CreateEnvironmentArray()
153 LightSet* lightSet = this->m_LightSets[lightSetIndex].lightSet.Get(); in ResolveReference() local
154 NW_ASSERT(lightSet != NULL); in ResolveReference()
155 lightSet->ClearAll(); in ResolveReference()
170 lightSet->SetAmbientLight(*foundAmbient); in ResolveReference()
178 lightSet->SetHemiSphereLight(*foundHemiSphere); in ResolveReference()
187 lightSet->SetVertexLight(*foundVertex); in ResolveReference()
196 lightSet->SetFragmentLight(*foundFragment); in ResolveReference()
219 LightSet* lightSet = iter->lightSet.Get(); in Clear() local
220 NW_ASSERT(lightSet != NULL); in Clear()
[all …]
/NW4C-1.3.3/include/nw/gfx/
Dgfx_SceneEnvironment.h166 void SetLightSet(int index, LightSet* lightSet) in SetLightSet() argument
169 m_LightSets[index] = lightSet; in SetLightSet()
Dgfx_SceneEnvironmentSetting.h52 GfxPtr<LightSet> lightSet; member