Template class to load OpenGL textures of a specified type from Memory Arrays. More...
#include <Texture.hpp>
Template class to load OpenGL textures of a specified type from Memory Arrays.
static RefPtr<Wizt::GLTexture2D> Fiber::CreateTexture< TextureStorageType, TextureFormat >::Plane | ( | const RefPtr< MemBase > & | DataCreator, | |
const Wizt::Range & | R, | |||
const SliceSelection & | O, | |||
const index_t & | SliceNumber, | |||
int | TextureUnit = 0 , |
|||
GLenum | format = GL_LUMINANCE | |||
) | [inline, static] |
Load data from a 3D memory array to a 2D OpenGL texture by slice extraction.
OpenGL texture format as specified by one of the glMemSize<> instantiations.
static RefPtr<Wizt::GLTexture2D> Fiber::CreateTexture< TextureStorageType, TextureFormat >::Plane | ( | const RefPtr< MemBase > & | DataCreator, | |
const Wizt::Range & | R, | |||
int | TextureUnit = 0 , |
|||
GLenum | format = GL_LUMINANCE | |||
) | [inline, static] |
Load data from a 2D memory array to a 2D OpenGL texture.
OpenGL texture format as specified by one of the glMemSize<> instantiations.
static RefPtr<Wizt::GLTexture3D> Fiber::CreateTexture< TextureStorageType, TextureFormat >::Volume | ( | const RefPtr< MemBase > & | DataCreator, | |
const Wizt::Range & | R, | |||
GLenum | format, | |||
const MultiIndex< 3 > & | Start = MIndex(0,0,0) , |
|||
const MultiIndex< 3 > & | End = MIndex(0,0,0) , |
|||
const MultiIndex< 3 > & | Step = MIndex(1,1,1) , |
|||
int | TextureUnit = 0 | |||
) | [inline, static] |
Load data from a 3D memory array to a 3D OpenGL texture.
OpenGL texture format as specified by one of the glMemSize<> instantiations.