mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-13 14:48:32 +09:00
[Feat] (MG_State/RenderState, MG_Backend/DirectVulkan): make Distant
Horizon work - Implement BlendEquation/CullFaceMode/PointSize/PolygonMode - Implement GetFramebufferAttachmentParameter* - Downgrade some color attachment resolve failure - Downgrade some overly-strict shader stage linkage check (don't check on unused input var)
This commit is contained in:
@@ -313,6 +313,22 @@ namespace MobileGL::MG_State {
|
||||
m_renderState.GetBlendFuncIndexed(index, srcRGB, dstRGB, srcAlpha, dstAlpha);
|
||||
}
|
||||
|
||||
void GLContext::SetBlendEquation(BlendEquation color, BlendEquation alpha) {
|
||||
m_renderState.SetBlendEquation(color, alpha);
|
||||
}
|
||||
|
||||
void GLContext::GetBlendEquation(BlendEquation& color, BlendEquation& alpha) const {
|
||||
m_renderState.GetBlendEquation(color, alpha);
|
||||
}
|
||||
|
||||
void GLContext::SetBlendEquationIndexed(Uint index, BlendEquation color, BlendEquation alpha) {
|
||||
m_renderState.SetBlendEquationIndexed(index, color, alpha);
|
||||
}
|
||||
|
||||
void GLContext::GetBlendEquationIndexed(Uint index, BlendEquation& color, BlendEquation& alpha) const {
|
||||
m_renderState.GetBlendEquationIndexed(index, color, alpha);
|
||||
}
|
||||
|
||||
void GLContext::SetDepthFunc(DepthTestFunc func) {
|
||||
m_renderState.SetDepthFunc(func);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user