Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JeanPhilippeKernel/RendererEngine
/ SetDiffuseMap
Method
SetDiffuseMap
ZEngine/src/StandardMaterial.cpp:46–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void StandardMaterial::SetDiffuseMap(const Ref<Textures::Texture>& texture) {
47
m_texture = texture;
48
}
49
50
void StandardMaterial::SetDiffuseMap(Textures::Texture* const texture) {
51
m_texture.reset(texture);
Callers
1
Initialize
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected