VertexBuffter 썸네일형 리스트형 [XNA3.1 index buffer vertex buffter] 교과서와는 다른 버퍼메모리 사용법 한참을 방황했다.. 버퍼가 안되서.. DrawUserIndexPrimitives vs DrawIndexPrimitives 라는 주제를 한번쯤 보았을것이다. 물론 후자쪽이 빠르다. 그런데, 가지고 있는 한글번역판 책들은 죄다 xna1.0 버전이라,, 그런지 xna3 에서는 사용법이 달랐다. Created with colorer-take5 library. Type 'csharp' public void setVertices() { // vertices 들 ~// //vertexBuff 라는 멤버 변��가 있겠죠.. vertexBuff = new VertexBuffer(device.GraphicsDevice, VertexPositionNormalTexture.SizeInBytes * vertices.Length.. 더보기 이전 1 다음