Inviwo  0.9.10.1
Inviwo documentation
inviwo::buffertraits::ColorsBuffer Class Reference

#include <typedmesh.h>

+ Inheritance diagram for inviwo::buffertraits::ColorsBuffer:

Public Types

using Base = TypedMeshBufferBase< float, 4, static_cast< int >(BufferType::ColorAttrib)>
 
- Public Types inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 4, static_cast< int >(BufferType::ColorAttrib)>
using type = Vector< DIM, float >
 

Public Member Functions

std::shared_ptr< const Buffer< Base::type > > getColors () const
 
std::shared_ptr< Buffer< Base::type > > getEditableColors ()
 
void setVertexColor (size_t index, vec4 color)
 
- Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 4, static_cast< int >(BufferType::ColorAttrib)>
 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, 4, static_cast< int >(BufferType::ColorAttrib)>
static inviwo::Mesh::BufferInfo bi ()
 
- Public Attributes inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 4, static_cast< int >(BufferType::ColorAttrib)>
std::shared_ptr< Buffer< type > > buffer_
 

Detailed Description

BufferTrait for Colors buffers (glm::vec4)


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