| 41 | } |
| 42 | |
| 43 | uint32_t IndexBuffer::GetNumActiveIndices() const |
| 44 | { |
| 45 | uint32_t i = BitHacks::Log2OfPowerOfTwo(mPrimitiveType); |
| 46 | return msIndexCounter[i](mNumActivePrimitives); |
| 47 | } |
| 48 | |
| 49 | void IndexBuffer::SetFirstPrimitive(uint32_t first) |
| 50 | { |
no outgoing calls
no test coverage detected