Other |
---|
internalFixed |
Solid_Color fragment function is used for clearing rectangle areas in rtt. clearRect occurs several times during rendering. The MTLRenderPipelineState created for Solid_Color fragment function is currently not cached, and gets recreated for each clearRect call. It should be cached to reduce the overhead of recreating it several times.
|