shader SetValue

ID3DXBaseEffect::SetValue Set the value of an arbitrary parameter or annotation, including simple types, structs, arrays, strings, shaders and textures. HRESULT SetValue( D3DXHANDLE hParameter, LPCVOID pData, UINT Bytes );그래그래.. 분명 msdn에는 setvalue함수에 어레이가 가능하다고 적혀있단 말이야.그래서 난 큐브를 찍기 위해 아래와 같이 정점을 만들었지.D3DXVECTOR3 vertices[] = { D3DXVECTOR3( -1, 1, 1), /// v0 D3DXVECTOR3( 1, 1, 1), /// v1 D3DXVEC..