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

Method GetSectionProperties

renderdoc/core/remote_server.cpp:2031–2061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2029}
2030
2031SectionProperties RemoteServer::GetSectionProperties(int index)
2032{
2033 if(!Connected())
2034 return SectionProperties();
2035
2036 {
2037 WRITE_DATA_SCOPE();
2038 SCOPED_SERIALISE_CHUNK(RemoteServerPacket::GetSectionProperties);
2039 SERIALISE_ELEMENT(index);
2040 }
2041
2042 SectionProperties props;
2043
2044 {
2045 READ_DATA_SCOPE();
2046 RemoteServerPacket type = ser.ReadChunk<RemoteServerPacket>();
2047
2048 if(type == RemoteServerPacket::GetSectionProperties)
2049 {
2050 SERIALISE_ELEMENT(props);
2051 }
2052 else
2053 {
2054 RDCERR("Unexpected response to GetSectionProperties");
2055 }
2056
2057 ser.EndChunk();
2058 }
2059
2060 return props;
2061}
2062
2063bytebuf RemoteServer::GetSectionContents(int index)
2064{

Callers 15

ExecuteMethod · 0.45
ActiveRemoteClientThreadFunction · 0.45
Structured2XMLFunction · 0.45
Buffers2ZIPFunction · 0.45
CreateReplayDeviceFunction · 0.45
GL_ProcessStructuredFunction · 0.45
ReadLogInitialisationMethod · 0.45
Vulkan_ProcessStructuredFunction · 0.45
ReadLogInitialisationMethod · 0.45
ReadLogInitialisationMethod · 0.45
D3D11_CreateReplayDeviceFunction · 0.45

Calls 2

SectionPropertiesClass · 0.85
EndChunkMethod · 0.80

Tested by

no test coverage detected