MCPcopy Create free account
hub / github.com/baldurk/renderdoc / InitializeRGP

Method InitializeRGP

qrenderdoc/Code/RGPInterop.cpp:158–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void RGPInterop::InitializeRGP()
159{
160 RGPInteropInit init;
161
162 init.interop_version = 1;
163 init.interop_name = lit("RenderDoc");
164
165 QString encoded = EncodeCommand(RGPCommand::Initialize, init.toParams(m_Version));
166
167 if(m_Socket)
168 {
169 m_Socket->write(encoded.trimmed().toUtf8().data());
170 }
171}
172
173bool RGPInterop::HasRGPEvent(uint32_t eventId)
174{

Callers

nothing calls this directly

Calls 5

toUtf8Method · 0.80
trimmedMethod · 0.80
toParamsMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected