 |
Flutter Impeller
|
|
Go to the documentation of this file.
21 std::vector<uint16_t> indices,
22 std::vector<Point> texture_coordinates,
23 std::vector<Color> colors,
58 void NormalizeIndices();
62 std::vector<Point> vertices_;
63 std::vector<Color> colors_;
64 std::vector<Point> texture_coordinates_;
65 std::vector<uint16_t> indices_;
A geometry that is created from a vertices object.
VerticesGeometry(std::vector< Point > vertices, std::vector< uint16_t > indices, std::vector< Point > texture_coordinates, std::vector< Color > colors, Rect bounds, VerticesGeometry::VertexMode vertex_mode)
bool HasVertexColors() const
GeometryResult GetPositionColorBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass)
GeometryVertexType GetVertexType() const override
std::optional< Rect > GetCoverage(const Matrix &transform) const override
Render passes encode render commands directed as one specific render target into an underlying comman...
GeometryResult GetPositionBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass) override
GeometryResult GetPositionUVBuffer(Rect texture_coverage, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass) override
bool HasTextureCoordinates() const
A 4x4 matrix using column-major storage.
std::optional< Rect > GetTextureCoordinateCoverge() const