Browse Source

no message

Hongtae Kim 6 years ago
parent
commit
00938ad774
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      TestApp1/TestApp1.cpp

+ 1
- 0
TestApp1/TestApp1.cpp View File

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