QSGGeometry::ColoredPoint2D Struct

struct QSGGeometry::ColoredPoint2D

QSGGeometry::ColoredPoint2D 结构是一种方便的结构,用于访问带有颜色的二维点。更多

公共函数

void set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha)

详细说明

成员函数文档

void ColoredPoint2D::set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha)

将顶点的位置设置为xy ,颜色设置为red,green,bluealpha

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.