Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::DlVertices::Builder::Flags Union Reference

flags to indicate/promise which of the optional texture coordinates or colors will be supplied during the build phase. More...

#include <dl_vertices.h>

Public Member Functions

Flags operator| (const Flags &rhs) const
 
Flagsoperator|= (const Flags &rhs)
 

Public Attributes

struct {
   unsigned   has_texture_coordinates: 1
 
   unsigned   has_colors: 1
 
}; 
 
uint32_t mask = 0
 

Detailed Description

flags to indicate/promise which of the optional texture coordinates or colors will be supplied during the build phase.

Definition at line 80 of file dl_vertices.h.

Member Function Documentation

◆ operator|()

Flags flutter::DlVertices::Builder::Flags::operator| ( const Flags rhs) const
inline

Definition at line 87 of file dl_vertices.h.

87 {
88 return {.mask = (mask | rhs.mask)};
89 }

◆ operator|=()

Flags & flutter::DlVertices::Builder::Flags::operator|= ( const Flags rhs)
inline

Definition at line 91 of file dl_vertices.h.

91 {
92 mask = mask | rhs.mask;
93 return *this;
94 }

Member Data Documentation

◆ 

struct { ... } flutter::DlVertices::Builder::Flags::@9

◆ has_colors

unsigned flutter::DlVertices::Builder::Flags::has_colors

Definition at line 83 of file dl_vertices.h.

◆ has_texture_coordinates

unsigned flutter::DlVertices::Builder::Flags::has_texture_coordinates

Definition at line 82 of file dl_vertices.h.

◆ mask

uint32_t flutter::DlVertices::Builder::Flags::mask = 0

Definition at line 85 of file dl_vertices.h.


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