Description of the properties of the user provided image. More...
Public Types | |
enum | TextureFilteringMode { FilterPoint, FilterLinear } |
Enumeration with the available texture filtering modes for user images. More... | |
enum | AlphaPremultiplicationMode { Premultiplied, NonPremultiplied } |
Enumeration with the available alpha premultiplication modes. Used for the renderer pipeline state (blend modes) when drawing. More... | |
Public Member Functions | |
UserImageData () | |
Public Attributes | |
unsigned | Width |
unsigned | Height |
unsigned | ContentRectX |
unsigned | ContentRectY |
unsigned | ContentRectWidth |
unsigned | ContentRectHeight |
unsigned | ImageHandle |
Set to a unique ID value greater than 0 to make image a live view. More... | |
unsigned | SystemOwnerId |
renoir::ImageOrigin | Origin |
renoir::PixelFormat | Format |
void * | TextureBatchingHint |
Pointer to a user-defined identifier that will be used to identify textures belonging to the same atlas. Draws using different Images that share the same TextureBatching can be batched together. More... | |
void * | Texture |
Pointer to a user-defined representation of the texture. Will be passed as-is to the graphics backend. More... | |
TextureFilteringMode | TextureFiltering |
Requests a specific filtering type for this user image. More... | |
AlphaPremultiplicationMode | AlphaPremultiplication |
Whether alpha is premultiplied in the image. More... | |
Description of the properties of the user provided image.
|
inline |
AlphaPremultiplicationMode cohtml::IAsyncResourceResponse::UserImageData::AlphaPremultiplication |
Whether alpha is premultiplied in the image.
unsigned cohtml::IAsyncResourceResponse::UserImageData::ContentRectHeight |
unsigned cohtml::IAsyncResourceResponse::UserImageData::ContentRectWidth |
unsigned cohtml::IAsyncResourceResponse::UserImageData::ContentRectX |
unsigned cohtml::IAsyncResourceResponse::UserImageData::ContentRectY |
renoir::PixelFormat cohtml::IAsyncResourceResponse::UserImageData::Format |
unsigned cohtml::IAsyncResourceResponse::UserImageData::Height |
unsigned cohtml::IAsyncResourceResponse::UserImageData::ImageHandle |
Set to a unique ID value greater than 0 to make image a live view.
renoir::ImageOrigin cohtml::IAsyncResourceResponse::UserImageData::Origin |
unsigned cohtml::IAsyncResourceResponse::UserImageData::SystemOwnerId |
void* cohtml::IAsyncResourceResponse::UserImageData::Texture |
Pointer to a user-defined representation of the texture. Will be passed as-is to the graphics backend.
void* cohtml::IAsyncResourceResponse::UserImageData::TextureBatchingHint |
Pointer to a user-defined identifier that will be used to identify textures belonging to the same atlas. Draws using different Images that share the same TextureBatching can be batched together.
TextureFilteringMode cohtml::IAsyncResourceResponse::UserImageData::TextureFiltering |
Requests a specific filtering type for this user image.
unsigned cohtml::IAsyncResourceResponse::UserImageData::Width |