bgfx_encoder_set_scissor

Set scissor for draw primitive. Remarks: To scissor for all primitives in view see bgfx::setViewScissor.

  1. ushort bgfx_encoder_set_scissor(bgfx_encoder_t* _this, ushort _x, ushort _y, ushort _width, ushort _height)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    ushort
    bgfx_encoder_set_scissor
    (,
    ushort _x
    ,
    ushort _y
    ,
    ushort _width
    ,
    ushort _height
    )
  2. da_bgfx_encoder_set_scissor bgfx_encoder_set_scissor;

Parameters

_x ushort

Position x from the left corner of the window.

_y ushort

Position y from the top corner of the window.

_width ushort

Width of view scissor region.

_height ushort

Height of view scissor region.

Meta