Method
CoglFramebufferget_samples_per_pixel
Declaration [src]
int
cogl_framebuffer_get_samples_per_pixel (
CoglFramebuffer* framebuffer
)
Description [src]
Gets the number of points that are sampled per-pixel when rasterizing geometry. Usually by default this will return 0 which means that single-sample not multisample rendering has been chosen. When using a GPU supporting multisample rendering it’s possible to increase the number of samples per pixel using cogl_framebuffer_set_samples_per_pixel().
Calling cogl_framebuffer_get_samples_per_pixel()
before the
framebuffer has been allocated will simply return the value set
using cogl_framebuffer_set_samples_per_pixel(). After the
framebuffer has been allocated the value will reflect the actual
number of samples that will be made by the GPU.