Function VisualServerSingleton.textureAllocate

Allocates the GPU memory for the texture.

void textureAllocate (
  const(RID) texture,
  const(long) width,
  const(long) height,
  const(long) depth_3d,
  const(long) format,
  const(long) type,
  const(long) flags = 7L
) nothrow @nogc;