| 254 | {} |
| 255 | |
| 256 | const ProgramResourceBinding* Next() |
| 257 | { |
| 258 | for (; m_CurrentSet < m_Program->m_MaxSet; ++m_CurrentSet) |
| 259 | { |
| 260 | for (; m_CurrentBinding < m_Program->m_MaxBinding; ++m_CurrentBinding) |
| 261 | { |
| 262 | if (m_Program->m_ResourceBindings[m_CurrentSet][m_CurrentBinding].m_Res != 0x0) |
| 263 | { |
| 264 | const ProgramResourceBinding* res = &m_Program->m_ResourceBindings[m_CurrentSet][m_CurrentBinding]; |
| 265 | m_CurrentBinding++; |
| 266 | return res; |
| 267 | } |
| 268 | } |
| 269 | m_CurrentBinding = 0; // Reset binding index when moving to the next set |
| 270 | } |
| 271 | return 0x0; |
| 272 | } |
| 273 | |
| 274 | void Reset() |
| 275 | { |
no outgoing calls
no test coverage detected