摘要:
typedef __m128 XMVECTOR;To summarize,1. Use XMVECTOR for local or global variables.2. Use XMFLOAT2, XMFLOAT3, and XMFLOAT4 for class data members.(因为是... 阅读全文
摘要:
Direct3D is basically a state machine不会改变直到我们改变以下是渲染的设置1. ID3D11RasterizerState: This interface represents a state group used to configure the rasteri... 阅读全文
摘要:
A input layout一般的顶点格式struct Vertex1{ XMFLOAT3 Pos; XMFLOAT4 Color;};struct Vertex2{ XMFLOAT3 Pos; XMFLOAT3 Normal; XMFLOAT2 Tex0; XM... 阅读全文