摘要: typedef __m128 XMVECTOR;To summarize,1. Use XMVECTOR for local or global variables.2. Use XMFLOAT2, XMFLOAT3, and XMFLOAT4 for class data members.(因为是... 阅读全文
posted @ 2015-06-30 16:04 W.Heisenberg 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Direct3D is basically a state machine不会改变直到我们改变以下是渲染的设置1. ID3D11RasterizerState: This interface represents a state group used to configure the rasteri... 阅读全文
posted @ 2015-06-30 00:37 W.Heisenberg 阅读(246) 评论(0) 推荐(0) 编辑
摘要: A input layout一般的顶点格式struct Vertex1{ XMFLOAT3 Pos; XMFLOAT4 Color;};struct Vertex2{ XMFLOAT3 Pos; XMFLOAT3 Normal; XMFLOAT2 Tex0; XM... 阅读全文
posted @ 2015-06-30 00:16 W.Heisenberg 阅读(525) 评论(1) 推荐(0) 编辑