How de define the default Metal point size?

前端 未结 0 419
花落未央
花落未央 2020-12-04 19:02

with metal when drawing a point we must set it\'s size in the shader :

 struct VertexOut{
...
    float pointsize[[point_size]];
...}

VertexOut.pointsize = 1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题