13#ifndef SO_MLSAMPLER3_D_H
14#define SO_MLSAMPLER3_D_H
21#include <Inventor/SbLinear.h>
56 void setGLTexImage(GLenum target,
const XVImageSize &textureSize, GLint internalFormat, GLint format, GLenum textureDataType,
const GLvoid *textureData)
override;
#define INVENTOR_SHADER_API
Define class export specifier.
Sampler node that uses a 3D ML subimage to define a 3D sampler.
static void initClass()
Initialize class with runtime type system.
void updateTextureWrappingParameters() override
Sets parameters for texture wrapping in OpenGL.
void setGLTexImage(GLenum target, const XVImageSize &textureSize, GLint internalFormat, GLint format, GLenum textureDataType, const GLvoid *textureData) override
Set the OpenGL texture.
SoMLSampler3D()
Constructor.
SoSFEnum wrapT
Wrapping mode. Default is REPEAT.
void calcSubImgProps(XVImageSize &subImgPosition, XVImageSize &subImgSize) override
Calculate position and size of used sub image by evaluation of fields.
SoSFEnum wrapR
Wrapping mode. Default is REPEAT.
~SoMLSampler3D() override
Destructor.
Abstract base class for sampler nodes that handle ML images.
SoSFMLImage - field interface to ML images and related classes.