src/video/SDL_sysvideo.h
changeset 5138 da10636e5eca
parent 5103 797b37c0c046
child 5141 31e7f523ab3d
equal deleted inserted replaced
5137:e594f07297a9 5138:da10636e5eca
    45     int access;                 /**< SDL_TextureAccess */
    45     int access;                 /**< SDL_TextureAccess */
    46     int w;                      /**< The width of the texture */
    46     int w;                      /**< The width of the texture */
    47     int h;                      /**< The height of the texture */
    47     int h;                      /**< The height of the texture */
    48     int modMode;                /**< The texture modulation mode */
    48     int modMode;                /**< The texture modulation mode */
    49     SDL_BlendMode blendMode;    /**< The texture blend mode */
    49     SDL_BlendMode blendMode;    /**< The texture blend mode */
    50     SDL_ScaleMode scaleMode;    /**< The texture scale mode */
       
    51     Uint8 r, g, b, a;           /**< Texture modulation values */
    50     Uint8 r, g, b, a;           /**< Texture modulation values */
    52 
    51 
    53     SDL_Renderer *renderer;
    52     SDL_Renderer *renderer;
    54 
    53 
    55     void *driverdata;           /**< Driver specific texture representation */
    54     void *driverdata;           /**< Driver specific texture representation */
    75     int (*SetTextureColorMod) (SDL_Renderer * renderer,
    74     int (*SetTextureColorMod) (SDL_Renderer * renderer,
    76                                SDL_Texture * texture);
    75                                SDL_Texture * texture);
    77     int (*SetTextureAlphaMod) (SDL_Renderer * renderer,
    76     int (*SetTextureAlphaMod) (SDL_Renderer * renderer,
    78                                SDL_Texture * texture);
    77                                SDL_Texture * texture);
    79     int (*SetTextureBlendMode) (SDL_Renderer * renderer,
    78     int (*SetTextureBlendMode) (SDL_Renderer * renderer,
    80                                 SDL_Texture * texture);
       
    81     int (*SetTextureScaleMode) (SDL_Renderer * renderer,
       
    82                                 SDL_Texture * texture);
    79                                 SDL_Texture * texture);
    83     int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    80     int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    84                           const SDL_Rect * rect, const void *pixels,
    81                           const SDL_Rect * rect, const void *pixels,
    85                           int pitch);
    82                           int pitch);
    86     int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    83     int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,