FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GraphicAlgorithm/DepthToPositionAndNormal/main.cpp at master · Veerzeng/GraphicAlgorithm · GitHub
Veerzeng
/
GraphicAlgorithm
Public
Notifications
You must be signed in to change notification settings
Fork
250
Star
1.5k
Code
Issues
5
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
GraphicAlgorithm
/
DepthToPositionAndNormal
/
main.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (16 loc) · 656 Bytes
Breadcrumbs
GraphicAlgorithm
/
DepthToPositionAndNormal
/
main.cpp
Copy path
File metadata and controls
21 lines (16 loc) · 656 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
include
"
Interface.h
"
#
include
"
Sponza.h
"
#
include
"
DepthPass.h
"
#
include
"
RecontructPass.h
"
int
main
()
{
ElayGraphics::WINDOW_KEYWORD::setWindowSize
(
1260
,
720
);
ElayGraphics::WINDOW_KEYWORD::setIsCursorDisable
(
true
);
ElayGraphics::COMPONENT_CONFIG::setIsEnableGUI
(
false
);
ElayGraphics::ResourceManager::registerGameObject
(std::make_shared<CSponza>(
"
Sponza
"
,
1
));
ElayGraphics::ResourceManager::registerRenderPass
(std::make_shared<CDepthPass>(
"
DepthPass
"
,
1
));
ElayGraphics::ResourceManager::registerRenderPass
(std::make_shared<CRecontructPass>(
"
RecontructPass
"
,
2
));
ElayGraphics::App::initApp
();
ElayGraphics::App::updateApp
();
return
0
;
}
Back
|
FazBrowse Home
|
New Git URL