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 <buffertexture.h>

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

Public Member Functions

 BufferTexture (std::uint32_t size)
std::span< T > map (GLenum access)
void unmap ()
void setSize (std::uint32_t size)
std::uint32_t getSize () const
 BufferTexture (const BufferTexture &)=delete
 BufferTexture (BufferTexture &&)=default
BufferTextureoperator= (const BufferTexture &)=delete
BufferTextureoperator= (BufferTexture &&)=default
Public Member Functions inherited from inviwo::TextureBase
 TextureBase (GLenum target)
 TextureBase (const TextureBase &other)
 TextureBase (TextureBase &&other)
TextureBaseoperator= (const TextureBase &other)
TextureBaseoperator= (TextureBase &&other)
GLuint getID () const
GLenum getTarget () const
void bind () const
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:
  • buffertexture.h