Defines Carna::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.
static BufferedVectorFieldTexture< BufferedVectorFieldType > & create(const BufferedVectorFieldType &field)
Instantiates. Invoke release when it isn't needed any longer.
BufferedVectorFieldTexture(const BufferedVectorFieldType &field)
Instantiates.
virtual bool controlsSameVideoResource(const GeometryFeature &other) const override
Tells true if other is of same type and references the same field. Tells false otherwise.
Represents 3D OpenGL texture object whose lifetime is managed by instances of this class.