Home | History | Annotate | Download | only in Tools

Lines Matching refs:uiIndex

1368 			for(unsigned int uiIndex = 0; uiIndex < 2; ++uiIndex)
1388 *(uiVals[uiIndex]) = (unsigned int)val;
1405 for(unsigned int uiIndex = 0; uiIndex < uiNumSurfTypes; ++uiIndex)
1407 if(hashType == SurfacePairs[uiIndex].Name)
1409 Params.uiFlags = SurfacePairs[uiIndex].eType | SurfacePairs[uiIndex].BufferType;
1429 for(unsigned int uiIndex = 0; uiIndex < 3; ++uiIndex)
1431 if(strcmp(pszRemaining, ppFilters[uiIndex]) == 0)
1433 Type = uiIndex; // Yup, it's valid.
1578 for(unsigned int uiIndex = 0; uiIndex < KnownCmds.GetSize(); ++uiIndex)
1580 if(KnownCmds[uiIndex] == texCmd)
1582 KnownCmds.Remove(uiIndex);
1734 for(unsigned int uiIndex = 0; uiIndex < KnownCmds.GetSize(); ++uiIndex)
1736 if(KnownCmds[uiIndex] == texCmd)
1738 KnownCmds.Remove(uiIndex);
1974 unsigned int uiIndex;
1979 uiIndex = 0;
1980 c_pszCursor = strstr(c_pszRemainingLine, c_ppszFlagNames[uiIndex++]);
1981 while(uiIndex < uiNumFlagNames)
1983 c_pszResult = strstr(c_pszRemainingLine, c_ppszFlagNames[uiIndex++]);
2023 for(unsigned int uiIndex = 0; uiIndex < uiNumFlagNames; ++uiIndex)
2025 if(strcmp(szBuffer, c_ppszFlagNames[uiIndex]) == 0)
2027 Type = uiIndex; // Yup, it's valid. uiIndex here would translate to one of the enums that matches the string array of flag names passed in.
2563 unsigned int uiIndex = effect.Targets.Append();
2566 CPVRTString* pVals[] = { &effect.Targets[uiIndex].BufferType, &effect.Targets[uiIndex].TargetName };
2744 for(unsigned int uiIndex = 0; uiIndex < m_psEffect[uiEffect].Textures.GetSize(); ++uiIndex)
2746 const SPVRTPFXParserEffectTexture& Tex = m_psEffect[uiEffect].Textures[uiIndex];
2749 return uiIndex;
2772 const SPVRTPFXRenderPass& CPVRTPFXParser::GetRenderPass( unsigned int uiIndex ) const
2774 _ASSERT(uiIndex >= 0 && uiIndex < GetNumberRenderPasses());
2775 return m_RenderPasses[uiIndex];
2815 SPVRTPFXParserShader& CPVRTPFXParser::GetFragmentShader( unsigned int uiIndex )
2817 _ASSERT(uiIndex < GetNumberFragmentShaders());
2818 return m_psFragmentShader[uiIndex];
2837 SPVRTPFXParserShader& CPVRTPFXParser::GetVertexShader( unsigned int uiIndex )
2839 _ASSERT(uiIndex < GetNumberVertexShaders());
2840 return m_psVertexShader[uiIndex];
2855 @Input uiIndex The index of this effect.
2859 const SPVRTPFXParserEffect& CPVRTPFXParser::GetEffect(unsigned int uiIndex) const
2861 _ASSERT(uiIndex < GetNumberEffects());
2862 return m_psEffect[uiIndex];
2881 const SPVRTPFXParserTexture* CPVRTPFXParser::GetTexture( unsigned int uiIndex ) const
2883 _ASSERT(uiIndex < GetNumberTextures());
2884 return m_psTexture[uiIndex];
2898 for(unsigned int uiIndex = 0; uiIndex < GetNumberEffects(); ++uiIndex)
2900 if(GetEffect(uiIndex).Name == Name)
2902 return (int)uiIndex;
2920 for(unsigned int uiIndex = 0; uiIndex < GetNumberTextures(); ++uiIndex)
2922 if(GetTexture(uiIndex)->Name == Name)
2924 return (int)uiIndex;