GLES20.GlCompressedTexSubImage2D 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.
Updates an existing compressed texture region when its format supports subimage updates.
[Android.Runtime.Register("glCompressedTexSubImage2D", "(IIIIIIIILjava/nio/Buffer;)V", "")]
public static void GlCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Java.Nio.Buffer? data);
[<Android.Runtime.Register("glCompressedTexSubImage2D", "(IIIIIIIILjava/nio/Buffer;)V", "")>]
static member GlCompressedTexSubImage2D : int * int * int * int * int * int * int * int * Java.Nio.Buffer -> unit
Parameters
- target
- Int32
GL_TEXTURE_2D or one of the six GL_TEXTURE_CUBE_MAP face tokens.
- level
- Int32
The nonnegative mipmap level; zero is the base image.
- xoffset
- Int32
The destination horizontal texel offset, satisfying the format's block-alignment restrictions.
- yoffset
- Int32
The destination vertical texel offset, satisfying the format's block-alignment restrictions.
- width
- Int32
The nonnegative update width in texels, fitting the image and the format's block rules.
- height
- Int32
The nonnegative update height in texels, fitting the image and the format's block rules.
- format
- Int32
The existing image's extension-defined compressed-format token, with its subimage-update restrictions.
- imageSize
- Int32
The compressed update's size in bytes, matching its format and dimensions.
- data
- Buffer
A non-null direct or accessible array-backed input buffer at its current position, with imageSize bytes available. Capacity is not checked; pixel-row alignment does not apply. In contexts supporting pixel-unpack buffers, leave that binding zero for this client-memory overload.
- Attributes
Remarks
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.