mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Front facing (#1904)
* Added BGFX_STATE_FRONT_CCW to defines.h and implemented initial usage only in renderer_d3d11.cpp. * set front facing for d3d12, gl metal and vulkan * front facing method Metal * tabs * removed tab idl updated
This commit is contained in:
committed by
Бранимир Караџић
parent
8ab1286a92
commit
6a883a33fd
@@ -83,6 +83,10 @@ flag.StateCull { bits = 64, shift = 36, range = 2, base = 1, desc = "Culling mod
|
||||
.Ccw --- Cull counter-clockwise triangles.
|
||||
()
|
||||
|
||||
--- Font facing. When BGFX_STATE_FRONT_CCW is not specified, front facing is CW
|
||||
flag.StateFrontCCW { bits = 64, shift = 39, range = 1, base = 1, desc = "Front facing" }
|
||||
()
|
||||
|
||||
--- Alpha reference value.
|
||||
flag.StateAlphaRef { bits = 64, shift = 40, range = 8, desc = "Alpha reference", "helper" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user