MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / SDFGrid

Method SDFGrid

Source/Falcor/Scene/SDFs/SDFGrid.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected