Flutter Impeller
geometry.h File Reference
#include "impeller/core/formats.h"
#include "impeller/core/vertex_buffer.h"
#include "impeller/entity/contents/content_context.h"
#include "impeller/entity/entity.h"
#include "impeller/entity/texture_fill.vert.h"
#include "impeller/renderer/render_pass.h"

Go to the source code of this file.

Classes

struct  impeller::GeometryResult
 
class  impeller::Geometry
 

Namespaces

 impeller
 

Enumerations

enum  impeller::GeometryVertexType {
  impeller::kPosition,
  impeller::kColor,
  impeller::kUV
}
 

Functions

VertexBufferBuilder< TextureFillVertexShader::PerVertexData > impeller::ComputeUVGeometryCPU (VertexBufferBuilder< SolidFillVertexShader::PerVertexData > &input, Point texture_origin, Size texture_coverage, Matrix effect_transform)
 Compute UV geometry for a VBB that contains only position geometry. More...
 
GeometryResult impeller::ComputeUVGeometryForRect (Rect source_rect, Rect texture_coverage, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass)
 
std::pair< std::vector< Point >, std::vector< uint16_t > > impeller::TessellateConvex (Path::Polyline polyline)
 Given a convex polyline, create a triangle fan structure. More...