26#include <SDL3/SDL_gpu.h>
39typedef struct ImageViewInterface ImageViewInterface;
84struct ImageViewInterface {
89 ViewInterface viewInterface;
127 void (*setImageWithResource)(
ImageView *self,
const Resource *resource);
136 void (*setImageWithResourceName)(
ImageView *self,
const char *name);
145 void (*setImageWithSurface)(
ImageView *image, SDL_Surface *surface);
OBJECTIVELYMVC_EXPORT Class * _ImageView(void)
OBJECTIVELYMVC_EXPORT const EnumName SDLGPUBlendFactorNames[]
#define OBJECTIVELYMVC_EXPORT
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.
ImageViews render an Image in the context of a View hierarchy.
Texture * texture
The GPU texture.
SDL_Color color
The drawing color.
struct ImageView::@0 blend
The blend factors (currently unused; reserved for future per-pipeline support).
ImageViewInterface * interface
The interface.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.