MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / SetCSSamplers

Function SetCSSamplers

Shadows/SampleFramework11/Utility.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void SetCSSamplers(ID3D11DeviceContext* context, ID3D11SamplerState* sampler0, ID3D11SamplerState* sampler1,
129 ID3D11SamplerState* sampler2, ID3D11SamplerState* sampler3)
130{
131 ID3D11SamplerState* samplers[4] = { sampler0, sampler1, sampler2, sampler3 };
132 context->CSSetSamplers(0, 4, samplers);
133}
134
135void SetCSShader(ID3D11DeviceContext* context, ID3D11ComputeShader* shader)
136{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected