Flutter Engine
The Flutter Engine
Public Types | Public Attributes | List of all members
SkMeshSpecification::Attribute Struct Reference

#include <SkMesh.h>

Public Types

enum class  Type : uint32_t {
  kFloat , kFloat2 , kFloat3 , kFloat4 ,
  kUByte4_unorm , kLast = kUByte4_unorm
}
 

Public Attributes

Type type
 
size_t offset
 
SkString name
 

Detailed Description

Definition at line 74 of file SkMesh.h.

Member Enumeration Documentation

◆ Type

enum class SkMeshSpecification::Attribute::Type : uint32_t
strong
Enumerator
kFloat 
kFloat2 
kFloat3 
kFloat4 
kUByte4_unorm 
kLast 

Definition at line 75 of file SkMesh.h.

75 : uint32_t { // CPU representation Shader Type
76 kFloat, // float float
77 kFloat2, // two floats float2
78 kFloat3, // three floats float3
79 kFloat4, // four floats float4
80 kUByte4_unorm, // four bytes half4
81
82 kLast = kUByte4_unorm
83 };

Member Data Documentation

◆ name

SkString SkMeshSpecification::Attribute::name

Definition at line 86 of file SkMesh.h.

◆ offset

size_t SkMeshSpecification::Attribute::offset

Definition at line 85 of file SkMesh.h.

◆ type

Type SkMeshSpecification::Attribute::type

Definition at line 84 of file SkMesh.h.


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