We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前形状的渲染是 renderTarget->DrawXXX 实现的,资料显示每次调用 DrawXXX 函数都会创建一个新的 ID2D1Geometry 对象,所以这种方式会影响速度。
renderTarget->DrawXXX
DrawXXX
ID2D1Geometry
把 ID2D1Geometry 对象作为形状的成员对象,优化渲染速度,并重写碰撞判断方法。
The text was updated successfully, but these errors were encountered:
Nomango
No branches or pull requests
目前形状的渲染是
renderTarget->DrawXXX
实现的,资料显示每次调用DrawXXX
函数都会创建一个新的ID2D1Geometry
对象,所以这种方式会影响速度。把
ID2D1Geometry
对象作为形状的成员对象,优化渲染速度,并重写碰撞判断方法。The text was updated successfully, but these errors were encountered: