CVBpy 14.0
UploadMode Class Reference

Defines the upload behavior. More...

Inherits object.

Static Public Attributes

int Image = 0
 Upload the complete image. More...
 
int Viewport = 1
 Upload the visible part of the image. More...
 

Detailed Description

Defines the upload behavior.

Member Data Documentation

◆ Image

int Image = 0
static

Upload the complete image.

Upload respectively copy the complete image data to frame buffer. This also includes parts of the image, that are not visible. This allows smooth drawing and scaling. This is the default option.

◆ Viewport

int Viewport = 1
static

Upload the visible part of the image.

Upload respectively copy only the visible part of the image. For large images this is usually much faster than uploading the whole image. The pixel data may be subsampled, as a consequence aliasing may occur.