MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / DisableSamplers

Method DisableSamplers

GTE/Graphics/DX11/DX11Engine.cpp:1284–1291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282}
1283
1284void DX11Engine::DisableSamplers(Shader const* shader, DX11Shader* dxShader)
1285{
1286 int32_t const index = SamplerState::shaderDataLookup;
1287 for (auto const& ss : shader->GetData(index))
1288 {
1289 dxShader->DisableSampler(mImmediate, ss.bindPoint);
1290 }
1291}
1292
1293//----------------------------------------------------------------------------
1294// Public overrides from GraphicsEngine

Callers

nothing calls this directly

Calls 2

GetDataMethod · 0.45
DisableSamplerMethod · 0.45

Tested by

no test coverage detected