XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Dump VertexBuffer memory in unmanaged DirectX9 and load it in managed DirectX10

Last post 5/14/2009 2:34 PM by Xtro. 2 replies.
  • 4/10/2009 6:47 AM

    Dump VertexBuffer memory in unmanaged DirectX9 and load it in managed DirectX10

    I am asked to design a high performance software. Its UI side and service side are completely detached. The backend 3D calculation is taken by service side, actually the service side has rendered it to its own directX device, but UI side need to fetch vertex data from it and render them on UI side again. Dumping to x files are time expensive that I cannot afford. The only workaround I can think out is asking service to dump its VertexBuffer memory to byte array, then send it to UI part. UI part read and overwrite its VertexBuffer.

    I find VertexBuffer class has a method named UpdateUnmanagedPointer. But have no idea on how to use it.

    Many thanks

    superZZ

  • 4/10/2009 7:51 AM In reply to

    Re: Dump VertexBuffer memory in unmanaged DirectX9 and load it in managed DirectX10

    I doubt dumping a vertex buffer and sending its contents to another component every frame will result in high performance software.

    Dumping the x files once only at the start sounds much more feasible to me.
    Game hobbyist hell-bent on coding a diabolical Matrix
  • 5/14/2009 2:34 PM In reply to

    Re: Dump VertexBuffer memory in unmanaged DirectX9 and load it in managed DirectX10

    did someone say "managed directx 10" ?? does a such thing exist ? do you mean slimdx ?
Page 1 of 1 (3 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG