|
| GrShaderVar () |
|
| GrShaderVar (SkString name, SkSLType type, int arrayCount=kNonArray) |
|
| GrShaderVar (const char *name, SkSLType type, int arrayCount=kNonArray) |
|
| GrShaderVar (SkString name, SkSLType type, TypeModifier typeModifier) |
|
| GrShaderVar (const char *name, SkSLType type, TypeModifier typeModifier) |
|
| GrShaderVar (SkString name, SkSLType type, TypeModifier typeModifier, int arrayCount) |
|
| GrShaderVar (SkString name, SkSLType type, TypeModifier typeModifier, int arrayCount, SkString layoutQualifier, SkString extraModifier) |
|
| GrShaderVar (const GrShaderVar &)=default |
|
GrShaderVar & | operator= (const GrShaderVar &)=default |
|
| GrShaderVar (GrShaderVar &&)=default |
|
GrShaderVar & | operator= (GrShaderVar &&)=default |
|
void | set (SkSLType type, const char *name) |
|
bool | isArray () const |
|
int | getArrayCount () const |
|
const SkString & | getName () const |
|
const char * | c_str () const |
|
SkSLType | getType () const |
|
TypeModifier | getTypeModifier () const |
|
void | setTypeModifier (TypeModifier type) |
|
void | addLayoutQualifier (const char *layoutQualifier) |
|
void | addModifier (const char *modifier) |
|
void | appendDecl (const GrShaderCaps *, SkString *out) const |
|
Represents a variable in a shader
Definition at line 20 of file GrShaderVar.h.