ソースを参照

get reflection when creating render-pipeline

Hongtae Kim 8 年 前
コミット
9cad29f187
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2
    1
      TestApp1/TestApp1.cpp

+ 2
- 1
TestApp1/TestApp1.cpp ファイルの表示

75
 		pipelineDescriptor.cullMode = DKCullMode::None;
75
 		pipelineDescriptor.cullMode = DKCullMode::None;
76
 		pipelineDescriptor.rasterizationEnabled = true;
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
 		DKTimer timer;
81
 		DKTimer timer;
81
 		timer.Reset();
82
 		timer.Reset();