Set render states for draw primitive.
Remarks:
1. To setup more complex states use:
BGFX_STATE_ALPHA_REF(_ref),
BGFX_STATE_POINT_SIZE(_size),
BGFX_STATE_BLEND_FUNC(_src, _dst),
BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA),
BGFX_STATE_BLEND_EQUATION(_equation),
BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA)
2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend
equation is specified.
Set render states for draw primitive. Remarks: 1. To setup more complex states use: BGFX_STATE_ALPHA_REF(_ref), BGFX_STATE_POINT_SIZE(_size), BGFX_STATE_BLEND_FUNC(_src, _dst), BGFX_STATE_BLEND_FUNC_SEPARATE(_srcRGB, _dstRGB, _srcA, _dstA), BGFX_STATE_BLEND_EQUATION(_equation), BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) 2. BGFX_STATE_BLEND_EQUATION_ADD is set when no other blend equation is specified.