Lines Matching refs:index
106 void SetFog(s32 index, Fog* fog) in SetFog() argument
108 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in SetFog()
109 m_Fogs[index] = fog; in SetFog()
116 Fog* GetFog(s32 index) in GetFog() argument
118 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in GetFog()
119 return m_Fogs[index]; in GetFog()
126 const Fog* GetFog(s32 index) const in GetFog() argument
128 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in GetFog()
129 return m_Fogs[index]; in GetFog()
137 void SetCamera(int index, Camera* camera) in SetCamera() argument
139 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in SetCamera()
140 m_Cameras[index] = camera; in SetCamera()
147 Camera* GetCamera(int index) in GetCamera() argument
149 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in GetCamera()
150 return m_Cameras[index]; in GetCamera()
157 const Camera* GetCamera(int index) const in GetCamera() argument
159 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in GetCamera()
160 return m_Cameras[index]; in GetCamera()
168 void SetLightSet(int index, LightSet* lightSet) in SetLightSet() argument
170 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in SetLightSet()
171 m_LightSets[index] = lightSet; in SetLightSet()
178 LightSet* GetLightSet(int index) in GetLightSet() argument
180 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in GetLightSet()
181 return m_LightSets[index]; in GetLightSet()
188 const LightSet* GetLightSet(int index) const in GetLightSet() argument
190 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in GetLightSet()
191 return m_LightSets[index]; in GetLightSet()
235 const FragmentLight* GetFragmentLight(int index) const in GetFragmentLight() argument
237 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveFragmentLightCount); in GetFragmentLight()
238 return this->m_FragmentLights[ index ]; in GetFragmentLight()
269 const VertexLight* GetVertexLight(int index) const in GetVertexLight() argument
271 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveVertexLightCount); in GetVertexLight()
272 return this->m_VertexLights[ index ]; in GetVertexLight()
322 void SetActiveLightSet(int index);
334 void SetActiveFog(int index) in SetActiveFog() argument
336 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in SetActiveFog()
338 Fog* fog = m_Fogs[index]; in SetActiveFog()