MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetTextures

Method GetTextures

Source/Engine/Terrain/TerrainPatch.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void TerrainPatch::GetTextures(GPUTexture*& heightmap, GPUTexture*& splatmap0, GPUTexture*& splatmap1) const
134{
135 heightmap = Heightmap->GetTexture();
136 splatmap0 = Splatmap[0] ? Splatmap[0]->GetTexture() : nullptr;
137 splatmap1 = Splatmap[1] ? Splatmap[1]->GetTexture() : nullptr;
138}
139
140void TerrainPatch::RemoveLightmap()
141{

Callers 6

WaitForLightmapsMethod · 0.45
UpdateLightmapsMethod · 0.45
updateLightmapsMethod · 0.45
onJobRenderMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45

Calls 1

GetTextureMethod · 0.80

Tested by

no test coverage detected