Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skgpu::tess::PatchStorage< Stride > Struct Template Reference

#include <PatchWriter.h>

Public Member Functions

bool hasPending () const
 
void reset ()
 

Public Attributes

float fN_p4 = -1.f
 
bool fMustDefer = true
 
char fData [Stride]
 

Detailed Description

template<size_t Stride>
struct skgpu::tess::PatchStorage< Stride >

Definition at line 181 of file PatchWriter.h.

Member Function Documentation

◆ hasPending()

template<size_t Stride>
bool skgpu::tess::PatchStorage< Stride >::hasPending ( ) const
inline

Definition at line 188 of file PatchWriter.h.

188 {
189 return fN_p4 >= 0.f;
190 }

◆ reset()

template<size_t Stride>
void skgpu::tess::PatchStorage< Stride >::reset ( )
inline

Definition at line 191 of file PatchWriter.h.

191 {
192 fN_p4 = -1.f;
193 fMustDefer = true;
194 }

Member Data Documentation

◆ fData

template<size_t Stride>
char skgpu::tess::PatchStorage< Stride >::fData[Stride]

Definition at line 186 of file PatchWriter.h.

◆ fMustDefer

template<size_t Stride>
bool skgpu::tess::PatchStorage< Stride >::fMustDefer = true

Definition at line 183 of file PatchWriter.h.

◆ fN_p4

template<size_t Stride>
float skgpu::tess::PatchStorage< Stride >::fN_p4 = -1.f

Definition at line 182 of file PatchWriter.h.


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