MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / GetActiveTextureResolution

Method GetActiveTextureResolution

ogsr_engine/Layers/xrRender/dxUIRender.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void dxUIRender::GetActiveTextureResolution(Fvector2& res)
41{
42 CTexture* T = RCache.get_ActiveTexture(0);
43 res.set(float(T->get_Width()), float(T->get_Height()));
44}
45
46LPCSTR dxUIRender::UpdateShaderName(LPCSTR tex_name, LPCSTR sh_name)
47{

Callers 3

RenderMethod · 0.80
DrawMethod · 0.80
FrameClipMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected