public virtual void setProgramId(IRenderingEngine re, int programId) { this.programId = programId; shaderAttribWeights1 = re.getAttribLocation(programId, REShader.attributeNameWeights1); shaderAttribWeights2 = re.getAttribLocation(programId, REShader.attributeNameWeights2); shaderAttribPosition = re.getAttribLocation(programId, REShader.attributeNamePosition); shaderAttribNormal = re.getAttribLocation(programId, REShader.attributeNameNormal); shaderAttribColor = re.getAttribLocation(programId, REShader.attributeNameColor); shaderAttribTexture = re.getAttribLocation(programId, REShader.attributeNameTexture); }
public virtual int getAttribLocation(int program, string name) { return(proxy.getAttribLocation(program, name)); }