Hongtae Kim hace 7 años
padre
commit
00938ad774
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      TestApp1/TestApp1.cpp

+ 1
- 0
TestApp1/TestApp1.cpp Ver fichero

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();