| 67 | } |
| 68 | |
| 69 | void DX11PixelShader::DisableCBuffer(ID3D11DeviceContext* context, |
| 70 | uint32_t bindPoint) |
| 71 | { |
| 72 | if (mDXObject) |
| 73 | { |
| 74 | ID3D11Buffer* buffers[1] = { nullptr }; |
| 75 | context->PSSetConstantBuffers(bindPoint, 1, buffers); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | void DX11PixelShader::EnableSRView(ID3D11DeviceContext* context, |
| 80 | uint32_t bindPoint, ID3D11ShaderResourceView* srView) |