HI,I'm a beginner to D3D11
the msdn says there are 16 input slots (0-15) and each buffer must be assigned to different slot.
Is that means i can only create 16 vertex buffers?
or i can create many buffers and several buffers can be bound to single input slot?
Oh,what I'm actually want to do is to manage the vertice of several meshes ,and I'm forming the class
MESH with C++ on VS2010,in a DLL ,so the vertex data will be unpredictable (and the data will not be obtained until the EXE pass in)
So i should update the global vertex buffer using some kind of method.(I create the Vertex Buffer with Default usage,noCpuAcess,NULL to the init SubresourceData), And there's an global array of vertex in system memory like g_VertexInSysMem,every time adding new vertices will fill part of the array.
Is that UpdateResource enough for updating???
i want to know if following code is enough:
updateVertexData.pSysMem = g_VertexInSysMem;
HELP!!! I CAN'T DRAW EVEN A TRIANGLE!!