Return nullptr for out of bound resource ids
Return nullptr for out of bound resource ids

samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla