Explorar el Código

get reflection when creating render-pipeline

Hongtae Kim hace 6 años
padre
commit
9cad29f187
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      TestApp1/TestApp1.cpp

+ 2
- 1
TestApp1/TestApp1.cpp Ver fichero

@@ -75,7 +75,8 @@ public:
75 75
 		pipelineDescriptor.cullMode = DKCullMode::None;
76 76
 		pipelineDescriptor.rasterizationEnabled = true;
77 77
 
78
-		DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, NULL);
78
+		DKPipelineReflection reflection;
79
+		DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, &reflection);
79 80
 
80 81
 		DKTimer timer;
81 82
 		timer.Reset();