rlgl: rlColorMask added
This commit is contained in:
parent
e5537960f0
commit
de01649968
2 changed files with 12 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue