Flutter Engine
The Flutter Engine
Public Attributes | List of all members
SkSL::SlotDebugInfo Struct Reference

#include <SkSLDebugTracePriv.h>

Public Attributes

std::string name
 
uint8_t columns = 1
 
uint8_t rows = 1
 
uint8_t componentIndex = 0
 
int groupIndex = 0
 
SkSL::Type::NumberKind numberKind = SkSL::Type::NumberKind::kNonnumeric
 
int line = 0
 
Position pos = {}
 
int fnReturnValue = -1
 

Detailed Description

Definition at line 39 of file SkSLDebugTracePriv.h.

Member Data Documentation

◆ columns

uint8_t SkSL::SlotDebugInfo::columns = 1

The dimensions of this variable: 1x1 is a scalar, Nx1 is a vector, NxM is a matrix.

Definition at line 43 of file SkSLDebugTracePriv.h.

◆ componentIndex

uint8_t SkSL::SlotDebugInfo::componentIndex = 0

Which component of the variable is this slot? (e.g. vec4.z is component 2)

Definition at line 45 of file SkSLDebugTracePriv.h.

◆ fnReturnValue

int SkSL::SlotDebugInfo::fnReturnValue = -1

If this slot holds a function's return value, contains 1; if not, -1.

Definition at line 54 of file SkSLDebugTracePriv.h.

◆ groupIndex

int SkSL::SlotDebugInfo::groupIndex = 0

Complex types (arrays/structs) can be tracked as a "group" of adjacent slots.

Definition at line 47 of file SkSLDebugTracePriv.h.

◆ line

int SkSL::SlotDebugInfo::line = 0

Where is this variable located in the program?

Definition at line 51 of file SkSLDebugTracePriv.h.

◆ name

std::string SkSL::SlotDebugInfo::name

The full name of this variable (without component), e.g. myArray[3].myStruct.myVector

Definition at line 41 of file SkSLDebugTracePriv.h.

◆ numberKind

What kind of numbers belong in this slot?

Definition at line 49 of file SkSLDebugTracePriv.h.

◆ pos

Position SkSL::SlotDebugInfo::pos = {}

Definition at line 52 of file SkSLDebugTracePriv.h.

◆ rows

uint8_t SkSL::SlotDebugInfo::rows = 1

Definition at line 43 of file SkSLDebugTracePriv.h.


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