Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
IOSGLContext Class Reference

Copyright (c) 2016-present, Facebook, Inc. More...

#include <IOSGLContext.h>

Inheritance diagram for IOSGLContext:

Public Member Functions

const GLTexturecreateNewTexture (CVPixelBufferRef pixelBuffer, const GLTexture::Type &type)
void set_context ()
void reset_context ()
void flush_context ()
- Public Member Functions inherited from GLContext
bool halfFloatTextureSupported ()
void setTextureAllocator (std::function< const GLTexture *(const int width, const int height)> textureAllocator)
std::function< const GLTexture *(const int width, const int height)> getTextureAllocator ()

Additional Inherited Members

- Static Public Member Functions inherited from GLContext
static void initGLContext ()
static GLContextgetGLContext ()
static void deleteGLContext ()
static bool GL_EXT_texture_border_clamp_defined ()
- Protected Attributes inherited from GLContext
bool half_float_supported = true

Detailed Description

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 25 of file IOSGLContext.h.

The documentation for this class was generated from the following file: