| 121 | } |
| 122 | |
| 123 | SDFGrid::SDFGrid(ref<Device> pDevice) : mpDevice(pDevice) |
| 124 | { |
| 125 | if (!mpDevice->isShaderModelSupported(ShaderModel::SM6_5)) |
| 126 | FALCOR_THROW("SDFGrid requires Shader Model 6.5 support."); |
| 127 | } |
| 128 | |
| 129 | uint32_t SDFGrid::setPrimitives(const std::vector<SDF3DPrimitive>& primitives, uint32_t gridWidth) |
| 130 | { |
nothing calls this directly
no test coverage detected