Lines Matching refs:index

200     void SetUniversal(int index, const math::VEC4& vec) const  in SetUniversal()  argument
202 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 1, vec); in SetUniversal()
210 void SetUniversal(int index, const math::MTX34& mtx) const in SetUniversal() argument
212 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 3, mtx); in SetUniversal()
220 void SetUniversal(int index, const math::MTX44& mtx) const in SetUniversal() argument
222 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 4, mtx); in SetUniversal()
434 void SetUserVertexUniform(s32 index, ResShaderParameterValue parameter) const in SetUserVertexUniform() argument
438 this->SetVertexUniformBool(index, parameter.GetValueBool()); in SetUserVertexUniform()
442 internal::NWSetVertexUniform1fv(index, 1, parameter.GetValueF32()); in SetUserVertexUniform()
446 internal::NWSetVertexUniform2fv(index, 1, parameter.GetValueF32()); in SetUserVertexUniform()
450 internal::NWSetVertexUniform3fv(index, 1, parameter.GetValueF32()); in SetUserVertexUniform()
454 internal::NWSetVertexUniform4fv(index, 1, parameter.GetValueF32()); in SetUserVertexUniform()
463 void SetUserGeometryUniform(s32 index, ResShaderParameterValue parameter) const in SetUserGeometryUniform() argument
467 this->SetGeometryUniformBool(index, parameter.GetValueBool()); in SetUserGeometryUniform()
471 internal::NWSetGeometryUniform1fv(index, 1, parameter.GetValueF32()); in SetUserGeometryUniform()
475 internal::NWSetGeometryUniform2fv(index, 1, parameter.GetValueF32()); in SetUserGeometryUniform()
479 internal::NWSetGeometryUniform3fv(index, 1, parameter.GetValueF32()); in SetUserGeometryUniform()
483 internal::NWSetGeometryUniform4fv(index, 1, parameter.GetValueF32()); in SetUserGeometryUniform()
492 void SetVertexUniformBool(int index, bool value) const in SetVertexUniformBool() argument
494 NW_ASSERT(0 <= index && index < 16); in SetVertexUniformBool()
497 m_VertexIntUniforms[0] |= 0x1 << index; in SetVertexUniformBool()
501 m_VertexIntUniforms[0] &= ~(0x1 << index); in SetVertexUniformBool()
510 void SetGeometryUniformBool(int index, bool value) const in SetGeometryUniformBool() argument
512 NW_ASSERT(0 <= index && index < 16); in SetGeometryUniformBool()
515 m_GeometryIntUniforms[0] |= 0x1 << index; in SetGeometryUniformBool()
519 m_GeometryIntUniforms[0] &= ~(0x1 << index); in SetGeometryUniformBool()
528 void SetVertexUniformInt(int index, s32 value) const in SetVertexUniformInt() argument
530 NW_ASSERT(0 <= index && index < 4); in SetVertexUniformInt()
531 m_VertexIntUniforms[2 + index] = value & 0xFF; in SetVertexUniformInt()
539 void SetGeometryUniformInt(int index, s32 value) const in SetGeometryUniformInt() argument
541 NW_ASSERT(0 <= index && index < 4); in SetGeometryUniformInt()
542 m_GeometryIntUniforms[2 + index] = value & 0xFF; in SetGeometryUniformInt()
551 void SetVertexUniformInt(int index, s32 x, s32 y) const in SetVertexUniformInt() argument
553 NW_ASSERT(0 <= index && index < 4); in SetVertexUniformInt()
554 m_VertexIntUniforms[2 + index] = (x & 0xFF) | ((y & 0xFF) << 8); in SetVertexUniformInt()
563 void SetGeometryUniformInt(int index, s32 x, s32 y) const in SetGeometryUniformInt() argument
565 NW_ASSERT(0 <= index && index < 4); in SetGeometryUniformInt()
566 m_GeometryIntUniforms[2 + index] = (x & 0xFF) | ((y & 0xFF) << 8); in SetGeometryUniformInt()
576 void SetVertexUniformInt(int index, s32 x, s32 y, s32 z) const in SetVertexUniformInt() argument
578 NW_ASSERT(0 <= index && index < 4); in SetVertexUniformInt()
579 m_VertexIntUniforms[2 + index] = (x & 0xFF) | ((y & 0xFF) << 8) | ((z & 0xFF) << 16); in SetVertexUniformInt()
589 void SetGeometryUniformInt(int index, s32 x, s32 y, s32 z) const in SetGeometryUniformInt() argument
591 NW_ASSERT(0 <= index && index < 4); in SetGeometryUniformInt()
592 m_GeometryIntUniforms[2 + index] = (x & 0xFF) | ((y & 0xFF) << 8) | ((z & 0xFF) << 16); in SetGeometryUniformInt()