Lines Matching refs:index
104 void SetFog(s32 index, Fog* fog) in SetFog() argument
106 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in SetFog()
107 m_Fogs[index] = fog; in SetFog()
114 Fog* GetFog(s32 index) in GetFog() argument
116 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in GetFog()
117 return m_Fogs[index]; in GetFog()
124 const Fog* GetFog(s32 index) const in GetFog() argument
126 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in GetFog()
127 return m_Fogs[index]; in GetFog()
135 void SetCamera(int index, Camera* camera) in SetCamera() argument
137 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in SetCamera()
138 m_Cameras[index] = camera; in SetCamera()
145 Camera* GetCamera(int index) in GetCamera() argument
147 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in GetCamera()
148 return m_Cameras[index]; in GetCamera()
155 const Camera* GetCamera(int index) const in GetCamera() argument
157 NW_MINMAXLT_ASSERT(index, 0, m_Cameras.size()); in GetCamera()
158 return m_Cameras[index]; in GetCamera()
166 void SetLightSet(int index, LightSet* lightSet) in SetLightSet() argument
168 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in SetLightSet()
169 m_LightSets[index] = lightSet; in SetLightSet()
176 LightSet* GetLightSet(int index) in GetLightSet() argument
178 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in GetLightSet()
179 return m_LightSets[index]; in GetLightSet()
186 const LightSet* GetLightSet(int index) const in GetLightSet() argument
188 NW_MINMAXLT_ASSERT(index, 0, m_LightSets.size()); in GetLightSet()
189 return m_LightSets[index]; in GetLightSet()
233 const FragmentLight* GetFragmentLight(int index) const in GetFragmentLight() argument
235 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveFragmentLightCount); in GetFragmentLight()
236 return this->m_FragmentLights[ index ]; in GetFragmentLight()
267 const VertexLight* GetVertexLight(int index) const in GetVertexLight() argument
269 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveVertexLightCount); in GetVertexLight()
270 return this->m_VertexLights[ index ]; in GetVertexLight()
320 void SetActiveLightSet(int index);
332 void SetActiveFog(int index) in SetActiveFog() argument
334 NW_MINMAXLT_ASSERT(index, 0, m_Fogs.size()); in SetActiveFog()
336 Fog* fog = m_Fogs[index]; in SetActiveFog()