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

Method DisableCBuffer

GTE/Graphics/DX11/DX11PixelShader.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void DX11PixelShader::DisableCBuffer(ID3D11DeviceContext* context,
70 uint32_t bindPoint)
71{
72 if (mDXObject)
73 {
74 ID3D11Buffer* buffers[1] = { nullptr };
75 context->PSSetConstantBuffers(bindPoint, 1, buffers);
76 }
77}
78
79void DX11PixelShader::EnableSRView(ID3D11DeviceContext* context,
80 uint32_t bindPoint, ID3D11ShaderResourceView* srView)

Callers 1

DisableCBuffersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected