public virtual int getTextureId(IRenderingEngine re) { if (textureId == -1) { textureId = re.genTexture(); } return(textureId); }
public virtual int genTexture() { return(proxy.genTexture()); }