Inviwo 0.9.12-pre
Inviwo documentation
|
A texture backed by buffer storage. More...
#include <buffertexture.h>
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 | |
BufferTexture & | operator= (const BufferTexture &)=delete |
BufferTexture & | operator= (BufferTexture &&)=default |
Public Member Functions inherited from inviwo::TextureBase | |
TextureBase (GLenum target) | |
TextureBase (const TextureBase &other) | |
TextureBase (TextureBase &&other) | |
TextureBase & | operator= (const TextureBase &other) |
TextureBase & | operator= (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_ |
A texture backed by buffer storage.