MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SetDS

Method SetDS

SampleFramework11/v1.02/Graphics/GraphicsTypes.h:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 void SetDS(ID3D11DeviceContext* deviceContext, uint32 slot) const
266 {
267 Assert_(Buffer != nullptr);
268
269 ID3D11Buffer* bufferArray[1];
270 bufferArray[0] = Buffer;
271 deviceContext->DSSetConstantBuffers(slot, 1, bufferArray);
272 }
273
274 void SetCS(ID3D11DeviceContext* deviceContext, uint32 slot) const
275 {

Callers 1

UpdateCBufferFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected