MCPcopy Create free account
hub / github.com/comaps/comaps / GetState

Method GetState

libs/drape_frontend/line_shape.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 {}
149
150 dp::RenderState GetState() override
151 {
152 auto state = CreateRenderState(gpu::Program::Line, m_params.m_depthLayer);
153 state.SetColorTexture(m_params.m_color.GetTexture());
154 state.SetDepthTestEnabled(m_params.m_depthTestEnabled);
155 return state;
156 }
157
158 dp::BindingInfo const & GetCapBindingInfo() override
159 {

Callers 7

ChangeBufferMethod · 0.45
IsVisibleMethod · 0.45
AcceptMessageMethod · 0.45
AddToRenderGroupMethod · 0.45
UpdateSceneMethod · 0.45
DrawMethod · 0.45
operator()Method · 0.45

Calls 4

CreateRenderStateFunction · 0.85
SetColorTextureMethod · 0.80
GetTextureMethod · 0.45
SetDepthTestEnabledMethod · 0.45

Tested by

no test coverage detected