SDL2Texture.updateYUVTexture

Update a part of a planar YV12 or IYUV texture with new pixel data.

  1. void updateYUVTexture(const(ubyte)* Yplane, int Ypitch, const(ubyte)* Uplane, int Upitch, Uint8* Vplane, int Vpitch)
  2. void updateYUVTexture(const(SDL_Rect)* rect, const(ubyte)* Yplane, int Ypitch, const(ubyte)* Uplane, int Upitch, Uint8* Vplane, int Vpitch)
    class SDL2Texture
    void
    updateYUVTexture
    (
    const(SDL_Rect)* rect
    ,
    const(ubyte)* Yplane
    ,
    int Ypitch
    ,
    const(ubyte)* Uplane
    ,
    int Upitch
    ,
    const Uint8* Vplane
    ,
    int Vpitch
    )

Throws

SDL2Exception on error.

See Also

Meta