SDL2lazy
Enumerations
SlRenderOptions.h File Reference

enum SlRenderOptions More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SlRenderOptions { SL_RENDER_DEFAULT = (1u << 0), SL_RENDER_COLORMOD = (1u << 1), SL_RENDER_ALPHAMOD = (1u << 2) }
 specifies where, what, and how to render. More...
 

Detailed Description

enum SlRenderOptions

Enumeration Type Documentation

specifies where, what, and how to render.

Specifies whether to use the SlTexture's source or destination SDL_Rect. Also specifies use of colour mod and alpha mod.
Currently implemented:
sourceRect to clip part of the texture
destinationRect to specify where and how big to render
colour mod (SDL_SetTextureColorMod)
alpha mod (SDL_SetTextureAlphaMod)