@@ -680,17 +680,20 @@ thread) if they are used with [al_set_target_bitmap]. 0 means no
680
680
depth-buffer will be created when drawing into the bitmap, which is the
681
681
default.
682
682
683
- > *Note:* This is an experimental feature and currently only works for
684
- the OpenGL backend.
683
+ Since: 5.2.1
685
684
686
- Since: 5.1.14
685
+ > *[Unstable API]:* This is an experimental feature and currently only works for
686
+ the OpenGL backend.
687
687
688
688
### API: al_get_new_bitmap_depth
689
689
690
690
Returns the value currently set with [al_set_new_bitmap_depth] on
691
691
the current thread or 0 if none was set.
692
692
693
- Since: 5.1.14
693
+ Since: 5.2.1
694
+
695
+ > *[Unstable API]:* This is an experimental feature and currently only works for
696
+ the OpenGL backend.
694
697
695
698
### API: al_set_new_bitmap_samples
696
699
@@ -701,9 +704,6 @@ the default. 1 means multi-sampling will be used but only using a single
701
704
sample per pixel (so usually there will be no visual difference to not
702
705
using multi-sampling at all).
703
706
704
- > *Note:* This is an experimental feature and currently only works for
705
- the OpenGL backend.
706
-
707
707
> *Note:* Some platforms have restrictions on when the multi-sampling
708
708
buffer for a bitmap is realized, i.e. down-scaled back to the actual
709
709
bitmap dimensions. This may only happen after a call to
@@ -720,14 +720,20 @@ bitmap dimensions. This may only happen after a call to
720
720
// CORRECT: at this point, the bitmap contents are updated and
721
721
// there will be an anti-aliased line in it.
722
722
723
- Since: 5.1.14
723
+ Since: 5.2.1
724
+
725
+ > *[Unstable API]:* This is an experimental feature and currently only works for
726
+ the OpenGL backend.
724
727
725
728
### API: al_get_new_bitmap_samples
726
729
727
730
Returns the value currently set with [al_set_new_bitmap_samples] on
728
731
the current thread or 0 if none was set.
729
732
730
- Since: 5.1.14
733
+ Since: 5.2.1
734
+
735
+ > *[Unstable API]:* This is an experimental feature and currently only works for
736
+ the OpenGL backend.
731
737
732
738
## Bitmap properties
733
739
@@ -751,6 +757,26 @@ Returns the height of a bitmap in pixels.
751
757
752
758
Returns the width of a bitmap in pixels.
753
759
760
+ ### API: al_get_bitmap_depth
761
+
762
+ Return the depthbuffer depth used by this bitmap if it is used with
763
+ [al_set_target_bitmap].
764
+
765
+ Since: 5.2.1
766
+
767
+ > *[Unstable API]:* This is an experimental feature and currently only works for
768
+ the OpenGL backend.
769
+
770
+ ### API: al_get_bitmap_samples
771
+
772
+ Return the multi-sampling samples used by this bitmap if it is used with
773
+ [al_set_target_bitmap].
774
+
775
+ Since: 5.2.1
776
+
777
+ > *[Unstable API]:* This is an experimental feature and currently only works for
778
+ the OpenGL backend.
779
+
754
780
### API: al_get_pixel
755
781
756
782
Get a pixel's color value from the specified bitmap. This operation is slow
@@ -1184,20 +1210,6 @@ associated texture.
1184
1210
1185
1211
See also: [al_get_target_bitmap], [al_set_target_backbuffer]
1186
1212
1187
- ### API: al_get_bitmap_depth
1188
-
1189
- Return the depthbuffer depth used by this bitmap if it is used with
1190
- [al_set_target_bitmap].
1191
-
1192
- Since: 5.1.14
1193
-
1194
- ### API: al_get_bitmap_samples
1195
-
1196
- Return the multi-sampling samples used by this bitmap if it is used with
1197
- [al_set_target_bitmap].
1198
-
1199
- Since: 5.1.14
1200
-
1201
1213
### API: al_set_target_backbuffer
1202
1214
1203
1215
Same as `al_set_target_bitmap(al_get_backbuffer(display));`
0 commit comments