Texture2DEffectors.GetSubImage

Returns a sub-image from the image starting at the coordinates extenting to the width and height. T = the backend to return for. Currently supported: - Gl (default) - Vk

  1. Color[][] GetSubImage(Color[][] from, int x, int y, int width, int height)
  2. Texture2D GetSubImage(Texture2D from, int x, int y, int width, int height)
    class Texture2DEffectors
    static
    GetSubImage
    (
    string T = "Gl"
    )
    (,
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    )

Meta