| 131 | } |
| 132 | |
| 133 | void 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 | |
| 140 | void TerrainPatch::RemoveLightmap() |
| 141 | { |
no test coverage detected