Skia
2D Graphics Library
SkVertices::Builder Class Reference

#include <SkVertices.h>

Public Member Functions

 Builder (VertexMode mode, int vertexCount, int indexCount, uint32_t flags)
 
bool isValid () const
 
SkPoint * positions ()
 
uint16_t * indices ()
 
SkPoint * texCoords ()
 
SkColorcolors ()
 
sk_sp< SkVerticesdetach ()
 

Friends

class SkVertices
 
class SkVerticesPriv
 

Constructor & Destructor Documentation

◆ Builder()

SkVertices::Builder::Builder ( VertexMode  mode,
int  vertexCount,
int  indexCount,
uint32_t  flags 
)

Member Function Documentation

◆ colors()

SkColor* SkVertices::Builder::colors ( )

◆ detach()

sk_sp<SkVertices> SkVertices::Builder::detach ( )

◆ indices()

uint16_t* SkVertices::Builder::indices ( )

◆ isValid()

bool SkVertices::Builder::isValid ( ) const
inline

◆ positions()

SkPoint* SkVertices::Builder::positions ( )

◆ texCoords()

SkPoint* SkVertices::Builder::texCoords ( )

Friends And Related Function Documentation

◆ SkVertices

friend class SkVertices
friend

◆ SkVerticesPriv

friend class SkVerticesPriv
friend

The documentation for this class was generated from the following file: