Public Member Functions | Private Attributes | List of all members
quori_face::PixelBufferObject Class Reference

#include <PixelBufferObject.hpp>

Public Member Functions

void bind (const std::size_t i)
 
std::uint32_t getHandle (const std::size_t i)
 
 PixelBufferObject (const std::size_t size)
 
void unbind ()
 
 ~PixelBufferObject ()
 

Private Attributes

std::uint32_t handles_ [2]
 

Detailed Description

A pipelined pixel buffer object (composed to 2 pixel buffer handles)

Definition at line 13 of file PixelBufferObject.hpp.

Constructor & Destructor Documentation

◆ PixelBufferObject()

PixelBufferObject::PixelBufferObject ( const std::size_t  size)

Definition at line 9 of file PixelBufferObject.cpp.

◆ ~PixelBufferObject()

PixelBufferObject::~PixelBufferObject ( )

Definition at line 19 of file PixelBufferObject.cpp.

Member Function Documentation

◆ bind()

void PixelBufferObject::bind ( const std::size_t  i)

Binds a pixel buffer object to the current OpenGL context.

Parameters
iThe index of the pixel buffer object to bind (either 0 or 1)

Definition at line 24 of file PixelBufferObject.cpp.

◆ getHandle()

std::uint32_t PixelBufferObject::getHandle ( const std::size_t  i)
Parameters
iThe index of the pixel buffer object to get
Returns
The underlying pixel buffer OpenGL handle

Definition at line 35 of file PixelBufferObject.cpp.

◆ unbind()

void PixelBufferObject::unbind ( )

Unbind the current pixel buffer object from the current OpenGL context.

Definition at line 29 of file PixelBufferObject.cpp.

Member Data Documentation

◆ handles_

std::uint32_t quori_face::PixelBufferObject::handles_[2]
private

Definition at line 42 of file PixelBufferObject.hpp.


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


quori_face
Author(s):
autogenerated on Wed Mar 2 2022 00:53:20