facebook360_dep
Facebook360 Depth Estimation Pipeline
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GpuBuffers Struct Reference

#include <GpuBuffers.h>

Inheritance diagram for GpuBuffers:

Public Types

using Coor = Eigen::Array2i
 

Public Member Functions

 GpuBuffers (GLenum format, const Coor &area, int depth=1)
 
 ~GpuBuffers ()
 
 GpuBuffers (GpuBuffers &&rhs)
 
void render (const int program)
 
template<typename T >
int subdivide (const T &scene)
 
template<typename T >
void read (T *dst, GLenum format, GLenum type, int index=0) const
 

Static Public Member Functions

static size_t maxDrawBufferCount ()
 

Public Attributes

const Coor area
 

Detailed Description

Copyright 2004-present Facebook. All Rights Reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.

Member Typedef Documentation

◆ Coor

using GpuBuffers::Coor = Eigen::Array2i

Constructor & Destructor Documentation

◆ GpuBuffers() [1/2]

GpuBuffers::GpuBuffers ( GLenum  format,
const Coor area,
int  depth = 1 
)
inline

◆ ~GpuBuffers()

GpuBuffers::~GpuBuffers ( )
inline

◆ GpuBuffers() [2/2]

GpuBuffers::GpuBuffers ( GpuBuffers &&  rhs)
inline

Member Function Documentation

◆ maxDrawBufferCount()

static size_t GpuBuffers::maxDrawBufferCount ( )
inlinestatic

◆ read()

template<typename T >
void GpuBuffers::read ( T *  dst,
GLenum  format,
GLenum  type,
int  index = 0 
) const
inline

◆ render()

void GpuBuffers::render ( const int  program)
inline

◆ subdivide()

template<typename T >
int GpuBuffers::subdivide ( const T &  scene)
inline

Member Data Documentation

◆ area

const Coor GpuBuffers::area

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