Replies: 2 comments 5 replies
|
That's actually a bug, what you're trying to do works on the other backends. For reference: Line 6252 in 9ec2472
Line 6186 in 9ec2472 just have to propagate |
2 replies
|
Thanks for the answers! sure, I will upload soon my original code and will check if the fix works. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, which are the flags for rendering a point clouds using BGFX?
uint64_t state = 0
| BGFX_STATE_WRITE_R
| BGFX_STATE_WRITE_G
| BGFX_STATE_WRITE_B
| BGFX_STATE_PT_POINTS;
Since point clouds does not need indices information, I get random crashes and freezes using bgfx if I leave the index buffer at 0.
`renderer_d3d11.cpp (3838): BGFX CHECK device->CreateBuffer(&desc , 0 , &m_ptr ) FAILED 0x80070057
Exception thrown at 0x00007FFCFE514B59 in Rah.exe: Microsoft C++ exception: _com_error at memory location 0x000000B84B7DE240.`
I do not want to create a costly index buffer just to render points. What are the alternatives?
All reactions