提交 fa15efa6 编写于 作者: root's avatar root

修改5-SkyBox,为了测试不同的CubeMap纹理

上级 4479ff2b
......@@ -278,9 +278,9 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR l
CD3DX12_RECT stScissorRect(0, 0, static_cast<LONG>(iWndWidth), static_cast<LONG>(iWndHeight));
//球体的网格数据
ST_GRS_VERTEX* pstSphereVertices = nullptr;
ST_GRS_VERTEX* pstSphereVertices = nullptr;
UINT nSphereVertexCnt = 0;
UINT* pSphereIndices = nullptr;
UINT* pSphereIndices = nullptr;
UINT nSphereIndexCnt = 0;
//Sky Box的网格数据
......@@ -1251,7 +1251,6 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR l
//---------------------------------------------------------------------------------------------
}
// 创建SRV描述符
{
D3D12_SHADER_RESOURCE_VIEW_DESC stSRVDesc = {};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册