Add GPUContext::SetBlendFactor

This commit is contained in:
Wojtek Figat
2023-02-01 11:07:48 +01:00
parent ab51ecddb4
commit 45a30990ba
9 changed files with 83 additions and 92 deletions

View File

@@ -845,6 +845,11 @@ void GPUContextDX12::SetRenderTarget(GPUTextureView* depthBuffer, const Span<GPU
}
}
void GPUContextDX12::SetBlendFactor(const Float4& value)
{
_commandList->OMSetBlendFactor(value.Raw);
}
void GPUContextDX12::ResetSR()
{
for (int32 slot = 0; slot < GPU_MAX_SR_BINDED; slot++)