- rs
- Context to which the allocation will belong.
- b
- bitmap source for the allocation data
Documentation for this section has not yet been entered.
Creates an Allocation from a Android.Graphics.Bitmap.
With target API version 18 or greater, this Allocation will be created with Allocation.USAGE_SHARED, Allocation.USAGE_SCRIPT, and Allocation.USAGE_GRAPHICS_TEXTURE. With target API version 17 or lower, this Allocation will be created with Allocation.USAGE_GRAPHICS_TEXTURE.