mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +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
@@ -2557,8 +2557,8 @@ namespace bgfx { namespace d3d12
|
||||
? D3D12_FILL_MODE_WIREFRAME
|
||||
: D3D12_FILL_MODE_SOLID
|
||||
;
|
||||
_desc.CullMode = s_cullMode[cull];
|
||||
_desc.FrontCounterClockwise = false;
|
||||
_desc.CullMode = s_cullMode[cull];
|
||||
_desc.FrontCounterClockwise = !!(_state&BGFX_STATE_FRONT_CCW);;
|
||||
_desc.DepthBias = 0;
|
||||
_desc.DepthBiasClamp = 0.0f;
|
||||
_desc.SlopeScaledDepthBias = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user