|
@@ -380,6 +380,7 @@ public:
|
380
|
380
|
encoder->SetRenderPipelineState(pipelineState);
|
381
|
381
|
encoder->SetVertexBuffer(vertexBuffer, 0, 0);
|
382
|
382
|
encoder->SetIndexBuffer(indexBuffer, 0, DKIndexType::UInt32);
|
|
383
|
+ encoder->SetResources(0, bindSet);
|
383
|
384
|
// draw scene!
|
384
|
385
|
encoder->DrawIndexed(indexData.Count(), 1, 0, 0, 1);
|
385
|
386
|
encoder->EndEncoding();
|