Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::BufferTexture< T, InternalFormat > Class Template Reference

A texture backed by buffer storage. More...

#include <modules/opengl/texture/buffertexture.h>

Inheritance diagram for inviwo::BufferTexture< T, InternalFormat >:

Public Member Functions

 BufferTexture (BufferTexture &&)=default
 BufferTexture (const BufferTexture &)=delete
 BufferTexture (std::uint32_t size)
std::uint32_t getSize () const
std::span< T > map (GLenum access)
BufferTexture & operator= (BufferTexture &&)=default
BufferTexture & operator= (const BufferTexture &)=delete
void setSize (std::uint32_t size)
void unmap ()
Public Member Functions inherited from inviwo::TextureBase
void bind () const
GLuint getID () const
GLenum getTarget () const
TextureBase & operator= (const TextureBase &other)
TextureBase & operator= (TextureBase &&other)
 TextureBase (const TextureBase &other)
 TextureBase (GLenum target)
 TextureBase (TextureBase &&other)
void unbind () const

Public Attributes

BufferObject storage

Additional Inherited Members

Protected Attributes inherited from inviwo::TextureBase
GLuint id_
GLenum target_

Detailed Description

template<typename T = std::uint8_t, GLenum InternalFormat = GL_R8UI>
class inviwo::BufferTexture< T, InternalFormat >

A texture backed by buffer storage.


The documentation for this class was generated from the following file:
  • modules/opengl/include/modules/opengl/texture/buffertexture.h