Skia
2D Graphics Library
SkMesh.h File Reference
#include "include/core/SkData.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSpan.h"
#include "include/core/SkString.h"
#include "include/effects/SkRuntimeEffect.h"
#include "include/private/base/SkAPI.h"
#include "include/private/base/SkTArray.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string_view>
#include <tuple>
#include <vector>
Include dependency graph for SkMesh.h:

Go to the source code of this file.

Classes

class  SkMeshSpecification
 A specification for custom meshes. More...
 
struct  SkMeshSpecification::Attribute
 
struct  SkMeshSpecification::Varying
 
struct  SkMeshSpecification::Result
 
class  SkMesh
 A vertex buffer, a topology, optionally an index buffer, and a compatible SkMeshSpecification. More...
 
class  SkMesh::IndexBuffer
 
class  SkMesh::VertexBuffer
 
struct  SkMesh::Result
 

Namespaces

 SkSL
 
 SkMeshes
 

Functions

SK_API sk_sp< SkMesh::IndexBufferSkMeshes::MakeIndexBuffer (const void *data, size_t size)
 Makes a CPU-backed index buffer to be used with SkMeshes. More...
 
SK_API sk_sp< SkMesh::IndexBufferSkMeshes::CopyIndexBuffer (const sk_sp< SkMesh::IndexBuffer > &)
 Makes a copy of an index buffer. More...
 
SK_API sk_sp< SkMesh::VertexBufferSkMeshes::MakeVertexBuffer (const void *, size_t size)
 Makes a CPU-backed vertex buffer to be used with SkMeshes. More...
 
SK_API sk_sp< SkMesh::VertexBufferSkMeshes::CopyVertexBuffer (const sk_sp< SkMesh::VertexBuffer > &)
 Makes a copy of a vertex buffer. More...