Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
SkSL::ProgramInterface Struct Reference

#include <SkSLProgram.h>

Public Types

enum  RTFlip : uint8_t { kRTFlip_None = 0b0000'0000 , kRTFlip_FragCoord = 0b0000'0001 , kRTFlip_Clockwise = 0b0000'0010 , kRTFlip_Derivative = 0b0000'0100 }
 

Public Member Functions

bool operator== (const ProgramInterface &that) const
 
bool operator!= (const ProgramInterface &that) const
 

Public Attributes

uint8_t fRTFlipUniform = kRTFlip_None
 
bool fUseLastFragColor = false
 
bool fOutputSecondaryColor = false
 

Detailed Description

A program's inputs and outputs.

Definition at line 45 of file SkSLProgram.h.

Member Enumeration Documentation

◆ RTFlip

Enumerator
kRTFlip_None 
kRTFlip_FragCoord 
kRTFlip_Clockwise 
kRTFlip_Derivative 

Definition at line 46 of file SkSLProgram.h.

46 : uint8_t {
47 kRTFlip_None = 0b0000'0000,
48 kRTFlip_FragCoord = 0b0000'0001,
49 kRTFlip_Clockwise = 0b0000'0010,
50 kRTFlip_Derivative = 0b0000'0100,
51 };

Member Function Documentation

◆ operator!=()

bool SkSL::ProgramInterface::operator!= ( const ProgramInterface that) const
inline

Definition at line 61 of file SkSLProgram.h.

61{ return !(*this == that); }

◆ operator==()

bool SkSL::ProgramInterface::operator== ( const ProgramInterface that) const
inline

Definition at line 56 of file SkSLProgram.h.

56 {
57 return fRTFlipUniform == that.fRTFlipUniform &&
58 fUseLastFragColor == that.fUseLastFragColor &&
59 fOutputSecondaryColor == that.fOutputSecondaryColor;
60 }

Member Data Documentation

◆ fOutputSecondaryColor

bool SkSL::ProgramInterface::fOutputSecondaryColor = false

Definition at line 54 of file SkSLProgram.h.

◆ fRTFlipUniform

uint8_t SkSL::ProgramInterface::fRTFlipUniform = kRTFlip_None

Definition at line 52 of file SkSLProgram.h.

◆ fUseLastFragColor

bool SkSL::ProgramInterface::fUseLastFragColor = false

Definition at line 53 of file SkSLProgram.h.


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