Lines Matching refs:mSource
33 mSource = nullptr; in Shader()
43 delete[] mSource; in ~Shader()
53 delete[] mSource; in setSource()
68 mSource = new char[totalLength + 1]; in setSource()
69 char *code = mSource; in setSource()
88 mSource[totalLength] = '\0'; in setSource()
126 if(!mSource) in getSourceLength()
132 return strlen(mSource) + 1; in getSourceLength()
142 if(mSource) in getSource()
144 index = std::min(bufSize - 1, (int)strlen(mSource)); in getSource()
145 memcpy(source, mSource, index); in getSource()
210 if(mSource) in compile()
212 source = mSource; in compile()
226 fprintf(file, "%s", mSource); in compile()