type t
  
        Type of sprites 
      
      
      
     
   type tval create : texture:Texture.Texture2D.t -> ?subrect:OgamlMath.IntRect.t -> ?origin:OgamlMath.Vector2f.t -> ?position:OgamlMath.Vector2f.t -> ?scale:OgamlMath.Vector2f.t -> ?color:Color.t -> ?size:OgamlMath.Vector2f.t -> ?rotation:float -> unit -> tval draw : (module RenderTarget.T with type t = 'a) -> ?parameters:DrawParameter.t -> target:'a -> sprite:t -> unit -> unitparameters defaults to DrawParameter.make ~depth_test:false ~blend_mode:DrawParameter.BlendMode.alphaval set_position : t -> OgamlMath.Vector2f.t -> unitval set_origin : t -> OgamlMath.Vector2f.t -> unitval set_rotation : t -> float -> unitval set_scale : t -> OgamlMath.Vector2f.t -> unitval set_size : t -> OgamlMath.Vector2f.t -> unitval set_color : t -> Color.t -> unitval translate : t -> OgamlMath.Vector2f.t -> unitval rotate : t -> float -> unitval scale : t -> OgamlMath.Vector2f.t -> unitval size : t -> OgamlMath.Vector2f.tval position : t -> OgamlMath.Vector2f.tval origin : t -> OgamlMath.Vector2f.tval rotation : t -> floatval color : t -> Color.tval get_scale : t -> OgamlMath.Vector2f.tval to_source : t -> VertexArray.SimpleVertex.T.s VertexArray.VertexSource.t -> unitval map_to_source : t -> (VertexArray.SimpleVertex.T.s VertexArray.Vertex.t -> 'b VertexArray.Vertex.t) -> 'b VertexArray.VertexSource.t -> unitto_source for more information.