func (mb *MemObject) GetTextureMipmapLevel() (GLInt, error) { var val C.cl_GLint err := C.clGetGLTextureInfo(mb.clMem, (C.cl_gl_texture_info)(GlMipmapLevel), C.size_t(unsafe.Sizeof(val)), unsafe.Pointer(&val), nil) return (GLInt)(val), toError(err) }
func (mb *MemObject) GetTextureTarget() (GLTargets, error) { var val C.cl_GLenum err := C.clGetGLTextureInfo(mb.clMem, (C.cl_gl_texture_info)(GlTextureTarget), C.size_t(unsafe.Sizeof(val)), unsafe.Pointer(&val), nil) return (GLTargets)(val), toError(err) }