Use indirect draw in directx 11

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


happyOgreRust
Gnoblar
Posts: 6
Joined: Mon Aug 10, 2020 3:31 am

Use indirect draw in directx 11

Post by happyOgreRust »

When I change the D3D11VaoManager's indirect flag to true:

mVaoManager = OGRE_NEW D3D11VaoManager( true, mDevice, this, miscParams );


Here comes the error. I want to do some compute culling with indirect buffer.

"pBufferForArgs shouldn't be null"


Image