Allocation.GenerateMipmaps Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generate a mipmap chain.
[Android.Runtime.Register("generateMipmaps", "()V", "GetGenerateMipmapsHandler")]
public virtual void GenerateMipmaps ();
[<Android.Runtime.Register("generateMipmaps", "()V", "GetGenerateMipmapsHandler")>]
abstract member GenerateMipmaps : unit -> unit
override this.GenerateMipmaps : unit -> unit
- Attributes
Remarks
Generate a mipmap chain. This is only valid if the Type of the Allocation includes mipmaps.
This function will generate a complete set of mipmaps from the top level LOD and place them into the script memory space.
If the Allocation is also using other memory spaces, a call to #syncAll syncAll(Allocation.USAGE_SCRIPT)
is required.
Java documentation for android.renderscript.Allocation.generateMipmaps()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.