All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Member Functions
pangolin::GlBufferCudaPtr Struct Reference

#include <glcuda.h>

List of all members.

Public Member Functions

void Bind () const
 GlBufferCudaPtr (GlBufferType buffer_type, GLsizeiptr size_bytes, unsigned int cudause=cudaGraphicsMapFlagsNone, GLenum gluse=GL_DYNAMIC_DRAW)
void Unbind () const
void Upload (const GLvoid *data, GLsizeiptr size_bytes, GLintptr offset=0)
 ~GlBufferCudaPtr ()

Public Attributes

GLuint bo
GlBufferType buffer_type
cudaGraphicsResource * cuda_res

Private Member Functions

 GlBufferCudaPtr (const GlBufferCudaPtr &)

Detailed Description

Definition at line 52 of file glcuda.h.


Constructor & Destructor Documentation

pangolin::GlBufferCudaPtr::GlBufferCudaPtr ( GlBufferType  buffer_type,
GLsizeiptr  size_bytes,
unsigned int  cudause = cudaGraphicsMapFlagsNone,
GLenum  gluse = GL_DYNAMIC_DRAW 
) [inline]

Definition at line 104 of file glcuda.h.

Definition at line 114 of file glcuda.h.

Definition at line 64 of file glcuda.h.


Member Function Documentation

void pangolin::GlBufferCudaPtr::Bind ( ) const [inline]

Definition at line 120 of file glcuda.h.

void pangolin::GlBufferCudaPtr::Unbind ( ) const [inline]

Definition at line 125 of file glcuda.h.

void pangolin::GlBufferCudaPtr::Upload ( const GLvoid *  data,
GLsizeiptr  size_bytes,
GLintptr  offset = 0 
) [inline]

Definition at line 130 of file glcuda.h.


Member Data Documentation

Definition at line 59 of file glcuda.h.

Definition at line 61 of file glcuda.h.

cudaGraphicsResource* pangolin::GlBufferCudaPtr::cuda_res

Definition at line 60 of file glcuda.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25