| 277 | std::unordered_map<uint16_t, UniformValue> Uniforms{}; |
| 278 | |
| 279 | void SetUniform(bgfx::UniformHandle handle, gsl::span<const float> data, size_t elementLength = 1) |
| 280 | { |
| 281 | UniformValue& value = Uniforms[handle.idx]; |
| 282 | value.Data.assign(data.begin(), data.end()); |
| 283 | value.ElementLength = static_cast<uint16_t>(elementLength); |
| 284 | } |
| 285 | }; |
| 286 | |
| 287 | class IndexBufferData; |
no outgoing calls
no test coverage detected