简体   繁体   中英

Equivalent for GL_POLYGON_OFFSET_FILL in Metal

My app currently uses OpenGL and i set polygon offset using glPolygonOffset and GL_POLYGON_OFFSET_FILL. I am in the process of transforming my code to Metal and looking for the equivalent methods in Metal. What are they?

MTLRenderCommandEncoder setDepthBias:slopeScale:clamp:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM