void function ( int arg0 , int arg1 , int arg2 , Bitmap arg3 , int arg4 ) { if ( arg3 == null ) { throw new NullPointerException ( "srini_string" ) ; } if ( native_texImage2D ( arg0 , arg1 , arg2 , arg3 , - 1 , arg4 ) != 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } }
calls glteximage2d on the current opengl context . if no context is current the behavior is the same as calling glteximage2d with no current context , that is , eglgeterror will return the appropriate error . unlike glteximage2d bitmap can not be null and will raise an exception in that case . all other parameters are identical to those used for glteximage2d . note : this method does n't change gl_unpack_alignment , you must make sure to set it properly according to the supplied bitmap . whether or not bitmap can have non power of two dimensions depends on the current opengl context . always check glgeterror some time after calling this method , just like when using opengl directly . concode_field_sep PlaceHolder placeHolder concode_field_sep int getInternalFormat concode_elem_sep void texSubImage2D concode_elem_sep void texSubImage2D concode_elem_sep int getType concode_elem_sep int native_getType concode_elem_sep int checkFormat concode_elem_sep int native_texSubImage2D concode_elem_sep void nativeClassInit concode_elem_sep int native_getInternalFormat concode_elem_sep int native_texImage2D