d3d11spikysphere.cpp | 95 ID3D11Buffer* cb_frame; member in struct:d3d11spikysphere 141 ensure(dev->CreateBuffer(&cbd, NULL, &cb_frame)); 175 ensure(ctx->Map(cb_frame, 0, D3D11_MAP_WRITE_DISCARD, 0, &map)); 194 ctx->Unmap(cb_frame, 0); 196 ctx->HSSetConstantBuffers(0, 1, &cb_frame); 197 ctx->DSSetConstantBuffers(0, 1, &cb_frame);
|