public bool IsTransparentPixel(int x, int y) { if (texture == null) { texture = LoadTexture(); } return(texture.IsTransparentPixel(x, y)); }