| 72 | } |
| 73 | |
| 74 | void AttributeProvider::InitStream(uint8_t streamIndex, BindingInfo const & bindingInfo, ref_ptr<void> data) |
| 75 | { |
| 76 | ASSERT_LESS(streamIndex, GetStreamCount(), ()); |
| 77 | AttributeStream s; |
| 78 | s.m_binding = bindingInfo; |
| 79 | s.m_data = data; |
| 80 | m_streams[streamIndex] = s; |
| 81 | INIT_STREAM(streamIndex); |
| 82 | } |
| 83 | |
| 84 | void AttributeProvider::Reset(uint32_t vertexCount) |
| 85 | { |
no outgoing calls