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

#include <GrGLProgram.h>

Public Attributes

GrVertexAttribType fCPUType
 
SkSLType fGPUType
 
size_t fOffset
 
GrGLint fLocation
 

Detailed Description

This class has its own Attribute representation as it does not need the name and we don't want to worry about copying the name string to memory with life time of GrGLProgram. Additionally, these store the attribute location.

Definition at line 38 of file GrGLProgram.h.

Member Data Documentation

◆ fCPUType

GrVertexAttribType GrGLProgram::Attribute::fCPUType

Definition at line 39 of file GrGLProgram.h.

◆ fGPUType

SkSLType GrGLProgram::Attribute::fGPUType

Definition at line 40 of file GrGLProgram.h.

◆ fLocation

GrGLint GrGLProgram::Attribute::fLocation

Definition at line 42 of file GrGLProgram.h.

◆ fOffset

size_t GrGLProgram::Attribute::fOffset

Definition at line 41 of file GrGLProgram.h.


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