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

Method DisableSampler

GTE/Graphics/DX11/DX11PixelShader.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void DX11PixelShader::DisableSampler(ID3D11DeviceContext* context,
137 uint32_t bindPoint)
138{
139 if (mDXObject)
140 {
141 ID3D11SamplerState* states[1] = { nullptr };
142 context->PSSetSamplers(bindPoint, 1, states);
143 }
144}
145
146

Callers 1

DisableSamplersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected