MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / GenerateCorneaScene

Method GenerateCorneaScene

SampleFramework11/v1.02/Graphics/Model.cpp:1014–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012}
1013
1014void Model::GenerateCorneaScene(ID3D11Device* device)
1015{
1016 MeshMaterial material;
1017 material.DiffuseMapName = L"Eyeball.png";
1018 material.NormalMapName = L"";
1019 fileDirectory = L"..\\Content\\Textures\\";
1020 LoadMaterialResources(material, L"..\\Content\\Textures\\", device, false);
1021 meshMaterials.push_back(material);
1022
1023 meshes.resize(1);
1024 meshes[0].InitCornea(device, 0);
1025}
1026
1027void Model::LoadMaterialResources(MeshMaterial& material, const wstring& directory, ID3D11Device* device, bool forceSRGB)
1028{

Callers

nothing calls this directly

Calls 3

InitCorneaMethod · 0.80
push_backMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected