Function gpujpeg_opengl_texture_map

Source
pub unsafe extern "C" fn gpujpeg_opengl_texture_map(
    texture: *mut gpujpeg_opengl_texture,
    data_size: *mut usize,
) -> *mut u8
Expand description

Map registered OpenGL texture to CUDA and return device pointer to the texture data

@param texture @param data_size Data size in returned buffer @param copy_from_texture Specifies whether memory copy from texture should be performed