Function VisualServerSingleton.textureGetFormat

Returns the format of the texture's image.

Image.Format textureGetFormat (
  const(RID) texture
) nothrow @nogc const;