MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / CreateTexture

Function CreateTexture

ZEngine/src/Texture2D.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace ZEngine::Rendering::Textures {
11
12 Texture* CreateTexture(const char* path) {
13 return new Texture2D(path);
14 }
15
16 Texture* CreateTexture(unsigned int width, unsigned int height) {
17 return new Texture2D(width, height);

Callers 7

StandardMaterialMethod · 0.85
CreateQuadMethod · 0.85
CreateSquareMethod · 0.85
CreateCubeMethod · 0.85
TextureManager.cppFile · 0.85
BasicMaterialMethod · 0.85
InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected