mojoshader.h
changeset 1009 ba0ed22a4bac
parent 1008 9cbe3e4bfba5
child 1011 0758e03a79d9
equal deleted inserted replaced
1008:9cbe3e4bfba5 1009:ba0ed22a4bac
  1286      *    x = FunctionThatReturnsAStruct().SomeMember;
  1286      *    x = FunctionThatReturnsAStruct().SomeMember;
  1287      */
  1287      */
  1288     MOJOSHADER_astExpression *identifier;
  1288     MOJOSHADER_astExpression *identifier;
  1289     const char *member;
  1289     const char *member;
  1290     int isswizzle;  /* Always 1 or 0. Never set by parseAst()! */
  1290     int isswizzle;  /* Always 1 or 0. Never set by parseAst()! */
       
  1291     int member_index;  /* Never set by parseAst()! */
  1291 } MOJOSHADER_astExpressionDerefStruct;
  1292 } MOJOSHADER_astExpressionDerefStruct;
  1292 
  1293 
  1293 typedef struct MOJOSHADER_astExpressionCallFunction
  1294 typedef struct MOJOSHADER_astExpressionCallFunction
  1294 {
  1295 {
  1295     MOJOSHADER_astNodeInfo ast;  /* Always MOJOSHADER_AST_OP_CALLFUNC */
  1296     MOJOSHADER_astNodeInfo ast;  /* Always MOJOSHADER_AST_OP_CALLFUNC */