2#include "gfx/mdl/materialInfo.h"
8 kmyGfx::mtlInfo*
obj =
nullptr;
12 if (*ptr ==
'\0')
return nullptr;
31 return convert(
obj->m_diffuseTextureName.cstr());
36 return convert(
obj->m_ambientTextureName.cstr());
41 return convert(
obj->m_emissionTextureName.cstr());
46 return convert(
obj->m_normalTextureName.cstr());
51 return convert(
obj->m_specularTextureName.cstr());
static String New(std::string s)
Definition: SharpKmyCore.cpp:78
Definition: MaterialInfo.h:7
System::String getEmissionTextureName()
Definition: MaterialInfo.h:39
System::String getDiffuseTextureName()
Definition: MaterialInfo.h:29
System::String convert(const char *ptr)
Definition: MaterialInfo.h:10
System::String getSpecularTextureName()
Definition: MaterialInfo.h:49
System::String getName()
Definition: MaterialInfo.h:24
kmyGfx::mtlInfo * obj
Definition: MaterialInfo.h:8
System::String getNormalTextureName()
Definition: MaterialInfo.h:44
MaterialInfo(kmyGfx::mtlInfo *base)
Definition: MaterialInfo.h:18
System::String getAmbientTextureName()
Definition: MaterialInfo.h:34