rlgl: rlColorMask added

This commit is contained in:
JupiterRider 2024-11-29 18:01:24 +01:00
parent e5537960f0
commit de01649968
2 changed files with 12 additions and 0 deletions

View file

@ -390,6 +390,11 @@ func DisableBackfaceCulling() {
C.rlDisableBackfaceCulling()
}
// ColorMask - Color mask control
func ColorMask(r, g, b, a bool) {
C.rlColorMask(C.bool(r), C.bool(g), C.bool(b), C.bool(a))
}
// SetCullFace - Set face culling mode
func SetCullFace(mode int32) {
cmode := C.int(mode)