Defines LibCarna::base::ManagedTexture3D.
Specializes the ManagedTexture3D class s.t. the texture's data is initialized from a math::VectorFiel...
const BufferedVectorFieldType & field
References the math::VectorField to be uploaded to the texture.
virtual bool controlsSameVideoResource(const GeometryFeature &other) const override
Tells true if other is of same type and references the same field. Tells false otherwise.
BufferedVectorFieldTexture(const BufferedVectorFieldType &field)
Instantiates.
static BufferedVectorFieldTexture< BufferedVectorFieldType > & create(const BufferedVectorFieldType &field)
Instantiates. Invoke release when it isn't needed any longer.
Represents 3D OpenGL texture object whose lifetime is managed by instances of this class.