Home › Engine functions › Graphics

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Graphics

The rendering back end: device, shaders, command streams.

558 functions in this category, 124 with a Windows address (74 high or medium confidence or exported, 50 low). The rest are in the full search.

Function Windows RVA Confidence How mapped Notes Linux address Size
Graphics::StartupParams::StartupParams(void*) 0x5d2c0 medium call-graph propagation 0x2fa0bd0 160
Graphics::Renderer::AddCommandSetToRenderList(Graphics::CommandStream*, unsigned int) 0x940370 medium string anchor 0x3b7e358 316
Graphics::BlockAllocResourceList<Primitives::FGXSurface, 1310720u, 4096u, 16384u, 1u, unsigned int>::AddResource() 0x940610 medium string anchor 0x3b85d3a 340
Graphics::ResourceList<ID3D11Buffer*, 8192u, 128u, 4u, unsigned short>::AddResource() 0x940770 medium call-graph propagation 0x3b85406 322
Graphics::ResourceList<Graphics::_INTERNAL::SurfaceSet_DX11*, 1024u, 128u, 1u, unsigned short>::AddResource() 0x9408c0 medium call-graph propagation 0x3b85ad0 322
Graphics::ResourceList<Graphics::_INTERNAL::DepthStencilData, 64u, 64u, 4u, unsigned short>::AddResource() 0x940a10 medium call-graph propagation 0x3b85908 318
Graphics::ResourceList<Graphics::_INTERNAL::TextureViews, 32768u, 512u, 4u, unsigned short>::AddResource() 0x940b60 medium call-graph propagation 0x3b8573c 322
Graphics::ResourceList<Graphics::_INTERNAL::FGXShaderPackageInstance, 16384u, 512u, 1u, unsigned short>::AddResource() 0x940e00 medium call-graph propagation 0x3b8506e 322
Graphics::_INTERNAL::Layout_BufferSet::AllocateCBRebaseBuffer() 0x940fe0 medium call-graph propagation 0x3b87dde 482
Graphics::Renderer::AppActivated() 0x9419c0 high string anchor 0x3b7d79a 1284
Graphics::Renderer::AppDeactivated() 0x941f00 medium string anchor 0x3b7e057 195
Graphics::Renderer::CreateStructuredBuffer(Graphics::FGX_BUFFER_USAGE, unsigned int, unsigned int, void const*, unsigned int, char const*, char const… 0x9426e0 medium call-graph propagation 0x3b759c0 78
Graphics::Renderer::SetActiveDevices(Graphics::DeviceSet) 0x943530 high string anchor 0x3b6bcbb 692
Graphics::CreateComputeShader(void const*, unsigned int, Graphics::ShaderDef::Shader const*) 0x943a50 medium string anchor 0x3b72891 309
Graphics::Renderer::SetScreenMode(Graphics::ScreenModeDesc const&, Graphics::SetScreenModeResults*) 0x944080 high string anchor 0x3b6eab6 2987
Graphics::Renderer::CreateDepthStencilResource(Graphics::Renderer::DSDesc const&, unsigned int) 0x944650 medium call-graph propagation 0x3b782f4 138
Graphics::CreateDomainShader(void const*, unsigned int, Graphics::ShaderDef::Shader const*) 0x944ab0 medium string anchor 0x3b7275c 309
Graphics::ReloadGeometryShader(unsigned char, void const*, unsigned int, Graphics::ShaderDef::Shader const*) 0x944cd0 medium string anchor 0x3b72e7a 309
Graphics::ReloadHullShader(unsigned char, void const*, unsigned int, Graphics::ShaderDef::Shader const*) 0x944e50 medium string anchor 0x3b72faf 312
Graphics::Renderer::CreateIB(Graphics::FGX_BUFFER_USAGE, Primitives::_FGX_INDEXFORMATS, unsigned int, void const*, unsigned int, unsigned int, char c… 0x944fe0 medium call-graph propagation 0x3b74331 78
Graphics::_INTERNAL::CreateIBAtHandle(unsigned short, Graphics::FGX_BUFFER_USAGE, Primitives::_FGX_INDEXFORMATS, unsigned int, void const*, unsigned … 0x945070 high string anchor 0x3b69ef3 804
Graphics::CreatePixelShader(void const*, unsigned int, Graphics::ShaderDef::Shader const*) 0x945390 medium string anchor 0x3b723c0 316
Graphics::Renderer::CreateRenderCubemap(unsigned int, unsigned int, Primitives::FGX_FORMAT, char const*, unsigned int, unsigned int) 0x945910 medium string anchor 0x3b77733 314
Graphics::Renderer::CreateRenderTargetView(unsigned short, Graphics::Renderer::RTViewDesc const&) 0x945af0 medium score-based neighbour propagation (~96% on hold-out) 0x3b77ad1 2083
Graphics::Renderer::RecreateRenderTexture(unsigned short, Graphics::Renderer::RTDesc const&, char const*, unsigned int) 0x946350 medium call-graph propagation 0x3b7702d 439
Graphics::Renderer::CreateSurfaceSet(Graphics::SurfaceSetDesc const&, unsigned int, char const*) 0x946f90 medium call-graph propagation 0x3b78f50 65
Graphics::Renderer::CreateTBuffer(Graphics::FGX_BUFFER_USAGE, Primitives::FGX_FORMAT, unsigned int, void const*, unsigned int, char const*, char cons… 0x946ff0 high string anchor 0x3b7508e 1042
Graphics::Renderer::CreateTextureArray(Primitives::TextureData*, unsigned int, char const*, unsigned int) 0x947730 medium call-graph propagation 0x3b74f15 86
Graphics::_INTERNAL::CreateTextureArrayAtHandle(unsigned short, Primitives::TextureData*, unsigned int, char const*, unsigned int) 0x9477c0 medium score-based neighbour propagation (~96% on hold-out) 0x3b6afc4 1484
Graphics::_INTERNAL::CreateTextureAtHandle(unsigned short, Primitives::TextureData*, char const*, D3D11_USAGE, unsigned int) 0x947d10 medium call-graph propagation 0x3b6a217 3476
Graphics::Renderer::CreateVB(Graphics::FGX_BUFFER_USAGE, unsigned int, unsigned int, void const*, unsigned int, unsigned int, char const*) 0x948cb0 medium call-graph propagation 0x3b742e3 78
Graphics::_INTERNAL::CreateVBAtHandle(unsigned short, Graphics::FGX_BUFFER_USAGE, unsigned int, unsigned int, void const*, unsigned int, char const*,… 0x948d40 high string anchor 0x3b69bf3 768
Graphics::ReloadVertexShader(unsigned short, void const*, unsigned int, unsigned int, void const*, Graphics::ShaderDef::Shader const*) 0x949050 medium string anchor 0x3b72be0 358
Graphics::Renderer::Enum32BitDisplayModes(Primitives::DisplayMode*, unsigned int) 0x9499d0 high string anchor 0x3b6c170 2006
Graphics::Renderer::EnumDisplayAdapters(Graphics::DeviceInfo*, unsigned int) 0x949ef0 medium string anchor 0x3b6b66a 630
Graphics::_INTERNAL::Layout_BufferSet::GetBuffers(Graphics::_INTERNAL::Layout_ThreadState*) 0x94bce0 high string anchor 0x3b8a2d8 1212
Graphics::Renderer::GetSubmittedCommandSetNames(char const**, unsigned int*, unsigned int) 0x94da00 medium string anchor 0x3b7cafc 235
Graphics::_INTERNAL::InitFromShaderDef(wchar_t const*, Platform::MemoryBuffer&, Graphics::InitResultState&, bool) 0x94e0c0 high string anchor 0x3b6fdd6 9334
Graphics::Renderer::Render(Graphics::RenderDesc) 0x950170 high string anchor 0x3b7e8e4 4003
Graphics::Renderer::LockConstantSet(unsigned short, unsigned int, unsigned int) 0x9518d0 medium call-graph propagation 0x3b792ca 104
Graphics::Renderer::LockDynamicTexture(unsigned short, unsigned long*, unsigned long*, Primitives::TextureData*, unsigned int) 0x951980 medium string anchor 0x3b74cf9 441
Graphics::Renderer::LogSubmittedWork() 0x952150 high string anchor 0x3b7cbe7 2994
Graphics::Renderer::Validation::PrintSupportedRTVFormats() 0x9530d0 high string anchor 0x3b69a8a 318
Graphics::Renderer::Validation::PrintSupportedUAVLoadFormats() 0x9532d0 high string anchor 0x3b697f8 318
Graphics::Renderer::Validation::PrintSupportedUAVStoreFormats() 0x9534d0 high string anchor 0x3b6994c 318
Graphics::ResourceList<ID3D11Buffer*, 8192u, 128u, 4u, unsigned short>::ReleaseResource(unsigned short) 0x956600 medium call-graph propagation 0x3b856b2 138
Graphics::ResourceList<Graphics::ConstantSet, 32768u, 512u, 4u, unsigned short>::ReleaseResource(unsigned short) 0x956870 medium call-graph propagation 0x3b90fa4 138
Graphics::ResourceList<Graphics::_INTERNAL::FGXShaderPackageInstance, 16384u, 512u, 1u, unsigned short>::ReleaseResource(unsigned short) 0x956a10 medium call-graph propagation 0x3b851b0 138
Graphics::Renderer::ReleaseShaderPackageInstance(unsigned short) 0x956ae0 medium call-graph propagation 0x3b79199 129
Graphics::CreateVertexShader(void const*, unsigned int, unsigned int, void const*, Graphics::ShaderDef::Shader const*) 0x957530 medium score-based neighbour propagation (~96% on hold-out) 0x3b7225a 358
Graphics::Renderer::Shutdown() 0x95cb40 medium string anchor 0x3b73363 1587
Graphics::_INTERNAL::Layout_ThreadState::Startup() 0x95d930 medium call-graph propagation 0x3b878d6 272
Graphics::Renderer::Startup(Graphics::StartupParams const&, Graphics::SetScreenModeResults*) 0x95da30 high string anchor 0x3b6cf8a 4544
Graphics::Renderer::UnlockConstantSet(unsigned short, unsigned int, unsigned int) 0x95f770 medium call-graph propagation 0x3b79332 105
Graphics::Renderer::ValidateMSAAQualityLevel(Primitives::FGX_FORMAT, unsigned int, unsigned int*) 0x9603d0 medium string anchor 0x3b7c4f7 321
Graphics::Renderer::ValidateMSAASampleCount(Primitives::FGX_FORMAT, unsigned int*) 0x960530 medium string anchor 0x3b7c3cc 299
Graphics::Renderer::ViewResized(unsigned int, unsigned int) 0x960cc0 high string anchor 0x3b7e11b 573
Graphics::DeviceInfo::clear() 0x960f00 medium call-graph propagation 0x3b8786a 108
Graphics::CommandStream::AppendUpdateSubresourceData(unsigned long) 0x961930 medium string anchor 0x3b8c57e 548
Graphics::CommandStream::CopyRenderTexture(Graphics::CopyRenderTextureDesc const&) 0x962620 medium string anchor 0x3b8c7c6 182
Graphics::CommandStream::CopyTexture(Graphics::CopyTextureDesc const&) 0x962710 medium string anchor 0x3b8cf16 182
Graphics::CommandStream::CopyToReadbackTexture(unsigned short, unsigned short, Graphics::MultiGPUState) 0x962800 medium string anchor 0x3b8cfd6 252
Graphics::CommandStream::DrawSurface(unsigned int, Primitives::DynamicCSPtr, unsigned short, unsigned short) 0x962ae0 medium score-based neighbour propagation (~96% on hold-out) 0x3b8b6b0 92
Graphics::CommandStream::DrawSurfaceSet(unsigned short, unsigned int, unsigned int) 0x962bc0 medium call-graph propagation 0x3b8b8ca 128
Graphics::CommandStream::ReconstructTexture(Graphics::ReconstructTextureDesc const&) 0x962fc0 medium string anchor 0x3b8ce3a 184
Graphics::CommandStream::ResolveRenderTexture(Graphics::ResolveRenderTextureDesc const&) 0x963130 medium string anchor 0x3b8cd90 170
Graphics::CommandStream::UpdateSubResource(Graphics::UpdateSubresourceDesc&, bool) 0x9636b0 high string anchor 0x3b8c23a 836
Graphics::ShaderDef::Serialize(Platform::MemoryBuffer&, Graphics::ShaderDef::Defs const*) 0x965140 medium call-graph propagation 0x3b8e3ce 4093
Graphics::ConstantSet::Initialize(Graphics::FGX_CONSTANTTYPE, unsigned int, void const*) 0x966830 medium string anchor 0x3b90a0c 276
Graphics::ConstantSetManager::ReleaseConstantSet(unsigned short) 0x966d40 medium call-graph propagation 0x3b90dde 78
Graphics::_INTERNAL::DefaultObjects::CreateDefaultTextures() 0x966e10 high string anchor 0x3b8d8de 1302
Graphics::_INTERNAL::DefaultObjects::CreateDefaultVBandIBs(void*, unsigned int) 0x967610 high string anchor 0x3b8d7e4 230
Graphics::DeviceDatabase::GetDriverWorkAroundFlags(unsigned int, char const*) 0x967bf0 medium string anchor 0x3b696e8 224
Graphics::getEnumByHash_FGX_SM_VERTEXFORMATS(unsigned int) 0xdc13a0 medium rare-constant anchor 0x3c6d327 792
Low confidence (50, unreliable)
Function Windows RVA How mapped Linux address
Graphics::ShaderDef::HashString(char const*) 0x702b60 call-graph propagation 0x3b8f84f
Graphics::BlockAllocResourceList<Primitives::FGXSurface, 1310720u, 4096u, 16384u, 1u, unsigned int>::AddBlock… 0x940250 score-based neighbour propagation (~90% on hold-o… 0x3b8a794
Graphics::Renderer::AddRefIB(unsigned short) 0x9404d0 call-graph propagation 0x3b747b3
Graphics::Renderer::AddRefTexture(unsigned short) 0x940570 call-graph propagation 0x3b76706
Graphics::Renderer::AddRefVB(unsigned short) 0x9405c0 call-graph propagation 0x3b74771
Graphics::Renderer::UnlockVB(unsigned short, unsigned int, unsigned int) 0x945520 interval alignment (~65% precise) 0x3b7450c
Graphics::Renderer::CreateShaderPackageInstance(unsigned short const*, unsigned int, unsigned int) 0x946a10 call-graph propagation 0x3b790e1
Graphics::Renderer::CreateSurface(Primitives::FGXSurface const&) 0x946f00 call-graph propagation 0x3b78fe3
Graphics::Renderer::CreateTexture(Primitives::TextureData*, char const*, unsigned int) 0x9476d0 call-graph propagation 0x3b74b34
Graphics::Renderer::LockDynamicTSBuffer(unsigned short, unsigned int) 0x947cf0 interval alignment (~65% precise) 0x3b75a5a
Graphics::Renderer::CreateTextureFromDepthResource(unsigned short, char const*) 0x948a10 call-graph propagation 0x3b76321
Graphics::Renderer::GetBackbufferHandle() 0x94bcd0 call-graph propagation 0x3b7487e
Graphics::Renderer::GetDepthStencilDesc(unsigned short) 0x94cd30 call-graph propagation 0x3b74886
Graphics::Renderer::GetMSAAMaxSampleCount(Primitives::FGX_FORMAT) 0x94d250 call-graph propagation 0x3b7cac6
Graphics::Renderer::GetRenderOptions() 0x94d7c0 call-graph propagation 0x3b7b80c
Graphics::Renderer::GetScreenHeight() 0x94d8a0 call-graph propagation 0x3b7a33b
Graphics::Renderer::GetScreenMode() 0x94d8b0 call-graph propagation 0x3b7a326
Graphics::Renderer::GetScreenWidth() 0x94d8c0 call-graph propagation 0x3b7a334
Graphics::Renderer::ClearAllCommandSetHooks() 0x94d9f0 interval alignment (~65% precise) 0x3b7cafb
Graphics::Renderer::SetMIPDisplay(char const*, Graphics::FGX_MIP_DISPLAY) 0x94db00 interval alignment (~65% precise) 0x3b7d799
Graphics::Renderer::GetTextureDesc(unsigned short) 0x94dc70 call-graph propagation 0x3b74837
Graphics::Renderer::LogResources(Platform::MemoryBuffer*, unsigned int) 0x94fe90 interval alignment (~65% precise) 0x3b7e49b
Graphics::Renderer::PushDynamicConstants(unsigned int, unsigned int) 0x9536d0 call-graph propagation 0x3b7939b
Graphics::Renderer::PushTransientSurface(Primitives::FGXSurface const&, unsigned int) 0x953730 call-graph propagation 0x3b79069
Graphics::Renderer::ReleaseCommandStream(Graphics::CommandStream*) 0x9562d0 call-graph propagation 0x3b78fa8
Graphics::Renderer::ReleaseTexture(unsigned short) 0x956bb0 call-graph propagation 0x3b74f6b
Graphics::CommandStream::CommandStream(Graphics::CommandStreamDesc const&, unsigned int, char const*) 0x961260 score-based neighbour propagation (~90% on hold-o… 0x3b8b34c
Graphics::CommandStream::AddAllCommandSetsToRenderQueue() 0x961700 call-graph propagation 0x3b8c1cc
Graphics::SurfaceSet::AddSurfaceVisID(unsigned int, Primitives::DynamicCSPtr, unsigned short, unsigned short,… 0x961850 call-graph propagation 0x3b8d282
Graphics::CommandStream::AliasGlobal(unsigned short, unsigned short) 0x9618f0 call-graph propagation 0x3b8bb4c
Graphics::CommandStream::BeginCommandSet(Graphics::BeginCommandSetDesc const&, char const*) 0x961b50 call-graph propagation 0x3b8bc16
Graphics::CommandStream::BeginCommandSet(unsigned short, unsigned char, unsigned short const*, unsigned short… 0x961df0 call-graph propagation 0x3b8bbc6
Graphics::CommandStream::Clear(unsigned int, FGXVector4, float, unsigned char) 0x9620f0 call-graph propagation 0x3b8be90
Graphics::CommandStream::ResolveRenderTexture(unsigned short, unsigned short, unsigned int) 0x9626e0 interval alignment (~65% precise) 0x3b8cd6a
Graphics::CommandStream::CreateLocalSurface(Primitives::FGXSurface const&) 0x962930 call-graph propagation 0x3b8d0d2
Graphics::CommandStream::EndCommandSet() 0x962c60 call-graph propagation 0x3b8c07e
Graphics::_INTERNAL::DefaultObjects::ColorIdentity(FGXVector4*, FGXVector3 const&, FGXVector3 const&, void*) 0x963110 interval alignment (~65% precise) 0x3b8d8ca
Graphics::CommandStream::SubmitInternalSurfaceSets() 0x9635b0 call-graph propagation 0x3b8b94a
Graphics::DynamicConstantAllocator::Alloc(unsigned int, unsigned int, unsigned int) 0x963a50 call-graph propagation 0x3b8df88
Graphics::DynamicConstantAllocator::Reset() 0x963af0 interval alignment (~65% precise) 0x3b8e002
Graphics::ShaderDef::CustomVertexFormatDef::FindVertexAttribute(char const*) const 0x963b20 interval alignment (~65% precise) 0x3b8fa96
Graphics::_INTERNAL::TransientSurfacePool::AllocSurface(Primitives::FGXSurface const&, unsigned int) 0x963b70 call-graph propagation 0x3b8fc69
Graphics::RegisterCustomVertexFormat(unsigned int, Primitives::FGXVertexElement const*, unsigned int) 0x9643d0 interval alignment (~65% precise) 0x3b9069d
Graphics::_INTERNAL::CommandStream_D3D11::CommandStream_D3D11(Graphics::CommandStreamDesc const&, unsigned in… 0x9644a0 interval alignment (~65% precise) 0x3b907dc
Graphics::_INTERNAL::CommandStream_D3D11::~CommandStream_D3D11() 0x966620 interval alignment (~65% precise) 0x3b909bc
Graphics::ConstantSet::Lock(unsigned int, ID3D11DeviceContext*) 0x966970 interval alignment (~65% precise) 0x3b90b4a
Graphics::GetVertexElementName(Primitives::FGX_VERTEXELEMENTTYPES) 0x967f30 call-graph propagation 0x3b90722
Graphics::GetVertexElementTypeFromString(char const*) 0x967f50 call-graph propagation 0x3b90738
Graphics::getMutableCSDesc_ShaderAutoGen(Graphics::MutableConstantSetTypes, void**, unsigned int*) 0xdc3e60 call-graph propagation 0x3c71bcf
Graphics::DeviceDatabase::GetDeviceProfile(unsigned int, unsigned int, char const*) 0xf53250 call-graph propagation 0x3b8dece