- rs
- Context to which the allocation will belong.
- res
- application resources
- id
- resource id to load the data from
Documentation for this section has not yet been entered.
Creates a non-mipmapped Allocation to use as a graphics texture from the Android.Graphics.Bitmap referenced by resource ID.
With target API version 18 or greater, this allocation will be created with 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.