MCPcopy Create free account
hub / github.com/crownengine/crown / setViewRect

Function setViewRect

3rdparty/bgfx/src/bgfx.cpp:5319–5323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5317 }
5318
5319 void setViewRect(ViewId _id, uint16_t _x, uint16_t _y, uint16_t _width, uint16_t _height)
5320 {
5321 BX_ASSERT(checkView(_id), "Invalid view id: %d", _id);
5322 s_ctx->setViewRect(_id, _x, _y, _width, _height);
5323 }
5324
5325 void setViewRect(ViewId _id, uint16_t _x, uint16_t _y, BackbufferRatio::Enum _ratio)
5326 {

Callers 2

renderMethod · 0.85
renderMethod · 0.85

Calls 2

checkViewFunction · 0.85
getTextureSizeFromRatioFunction · 0.85

Tested by

no test coverage detected