Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::buffertraits::ScalarMetaBuffer Class Reference

#include <typedmesh.h>

+ Inheritance diagram for inviwo::buffertraits::ScalarMetaBuffer:

Public Types

using Base = TypedMeshBufferBase<float, 1, static_cast<int>(BufferType::ScalarMetaAttrib)>
 
- Public Types inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 1, static_cast< int >(BufferType::ScalarMetaAttrib)>
using type
 

Public Member Functions

std::shared_ptr< const Buffer< Base::type > > getScalarMeta () const
 
std::shared_ptr< Buffer< Base::type > > getEditableScalarMeta ()
 
void setVertexScalarMeta (size_t index, float value)
 
- Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 1, static_cast< int >(BufferType::ScalarMetaAttrib)>
 TypedMeshBufferBase (Mesh &mesh)
 
auto getTypedRAMRepresentation () const
 
auto getTypedEditableRAMRepresentation ()
 
auto & getTypedDataContainer () const
 
auto & getTypedDataContainer ()
 

Additional Inherited Members

- Static Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 1, static_cast< int >(BufferType::ScalarMetaAttrib)>
static Mesh::BufferInfo bi ()
 
- Public Attributes inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 1, static_cast< int >(BufferType::ScalarMetaAttrib)>
std::shared_ptr< Buffer< type > > buffer_
 

Detailed Description

BufferTrait for scalar meta data buffers (float) Useful the pass additional information the rendering

See also
SphereRenderer

The documentation for this class was generated from the following file: