initTexture method

void initTexture(
  1. Texture texture
)

Implementation

void initTexture(Texture texture) {
  textures.setTexture2D(texture, 0);

  state.unbindTexture();
}