feat(RHI): add rendering state abstraction to RHICommandList
- Add DepthStencilState and BlendState structs to RHICommandList - Add SetPrimitiveTopology, SetDepthStencilState, SetStencilRef, SetBlendState, SetBlendFactor virtual methods - Implement new methods in OpenGL backend with full state control - Implement stub methods in D3D12 backend (states controlled via PSO)
This commit is contained in:
@@ -256,10 +256,6 @@ void D3D12CommandList::SetStencilRef(uint32_t stencilRef) {
|
||||
m_commandList->OMSetStencilRef(stencilRef);
|
||||
}
|
||||
|
||||
void D3D12CommandList::SetBlendFactor(const float blendFactor[4]) {
|
||||
m_commandList->OMSetBlendFactor(blendFactor);
|
||||
}
|
||||
|
||||
void D3D12CommandList::SetDepthBias(float depthBias, float slopeScaledDepthBias, float depthBiasClamp) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user