- 112 名前:デフォルトの名無しさん mailto:sage [2011/10/12(水) 01:55:27.49 ]
- >>111
CUSTOMVERTEX2* vertices; vertices=new CUSTOMVERTEX2[20]; と CUSTOMVERTEX2 vertices[20]; で挙動の違いがあるんですか? ちなみに VOID* pVertices; if( FAILED( g_pVB->Lock( 0, sizeof(vertices), (void**)&pVertices, 0 ) ) ) return; memcpy( pVertices, vertices, sizeof(vertices) ); g_pVB->Unlock(); verticesの中身は上記のような感じでバッファーに渡しています。
|

|