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

Method DisableCBuffers

GTE/Graphics/DX11/DX11Engine.cpp:948–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946}
947
948void DX11Engine::DisableCBuffers(Shader const* shader, DX11Shader* dxShader)
949{
950 int32_t const index = ConstantBuffer::shaderDataLookup;
951 for (auto const& cb : shader->GetData(index))
952 {
953 dxShader->DisableCBuffer(mImmediate, cb.bindPoint);
954 }
955}
956
957void DX11Engine::EnableTBuffers(Shader const* shader, DX11Shader* dxShader)
958{

Callers

nothing calls this directly

Calls 2

GetDataMethod · 0.45
DisableCBufferMethod · 0.45

Tested by

no test coverage detected