al_set_new_bitmap_samples - Online Linux Manual PageSection : 3
Updated :
Source : Allegro reference manual
Note :
NAMEal_set_new_bitmap_samples − Allegro 5 API
SYNOPSIS
#include <allegro5/allegro.h>
void al_set_new_bitmap_samples(int samples)
SETTER(new_bitmap_samples, samples)
DESCRIPTIONSets the multi−sampling samples used by newly created bitmaps (on the current thread) if they are used with al_set_target_bitmap(3). 0 means multi−sampling will not be used when drawing into the bitmap, which is the default. 1 means multi−sampling will be used but only using a single sample per pixel (so usually there will be no visual difference to not using multi−sampling at all). Note: Some platforms have restrictions on when the multi−sampling buffer for a bitmap is realized, i.e. down−scaled back to the actual bitmap dimensions. This may only happen after a call to al_set_target_bitmap(3). So for example:
al_set_target_bitmap(multisample);
al_clear_to_color(blue);
al_draw_line(0, 0, 100, 100, red, 1);
al_lock_bitmap(multisample, ...)
// ERROR: the contents of the bitmap will be undefined
al_set_target_bitmap(backbuffer);
al_lock_bitmap(multisample, ...)
// CORRECT: at this point, the bitmap contents are updated and
// there will be an anti−aliased line in it.
SINCE5.2.1 [Unstable API]: This is an experimental feature and currently only works for the OpenGL backend. 0
Johanes Gumabo
Data Size : 5,194 byte
man-al_set_new_bitmap_samples.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 199,011
Visitor ID : :
Visitor IP : 3.22.74.192 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.