VTK-m  2.2
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::rendering::Texture2D< NumComponents > Class Template Reference

#include <Texture2D.h>

Classes

class  Texture2DSampler
 
class  Texture2DSamplerExecutionObject
 

Public Types

using TextureDataHandle = typename vtkm::cont::ArrayHandle< vtkm::UInt8 >
 
using ColorType = vtkm::Vec< vtkm::Float32, NumComponents >
 

Public Member Functions

 Texture2D ()
 
 Texture2D (vtkm::Id width, vtkm::Id height, const TextureDataHandle &data)
 
bool IsValid () const
 
TextureFilterMode GetFilterMode () const
 
void SetFilterMode (TextureFilterMode filterMode)
 
TextureWrapMode GetWrapMode () const
 
void SetWrapMode (TextureWrapMode wrapMode)
 
Texture2DSampler GetExecObjectFactory () const
 

Private Attributes

vtkm::Id Width
 
vtkm::Id Height
 
TextureDataHandle Data
 
TextureFilterMode FilterMode
 
TextureWrapMode WrapMode
 

Member Typedef Documentation

◆ ColorType

template<vtkm::IdComponent NumComponents>
using vtkm::rendering::Texture2D< NumComponents >::ColorType = vtkm::Vec<vtkm::Float32, NumComponents>

◆ TextureDataHandle

template<vtkm::IdComponent NumComponents>
using vtkm::rendering::Texture2D< NumComponents >::TextureDataHandle = typename vtkm::cont::ArrayHandle<vtkm::UInt8>

Constructor & Destructor Documentation

◆ Texture2D() [1/2]

template<vtkm::IdComponent NumComponents>
vtkm::rendering::Texture2D< NumComponents >::Texture2D ( )
inline

◆ Texture2D() [2/2]

template<vtkm::IdComponent NumComponents>
vtkm::rendering::Texture2D< NumComponents >::Texture2D ( vtkm::Id  width,
vtkm::Id  height,
const TextureDataHandle data 
)
inline

Member Function Documentation

◆ GetExecObjectFactory()

template<vtkm::IdComponent NumComponents>
Texture2DSampler vtkm::rendering::Texture2D< NumComponents >::GetExecObjectFactory ( ) const
inline

◆ GetFilterMode()

template<vtkm::IdComponent NumComponents>
TextureFilterMode vtkm::rendering::Texture2D< NumComponents >::GetFilterMode ( ) const
inline

◆ GetWrapMode()

template<vtkm::IdComponent NumComponents>
TextureWrapMode vtkm::rendering::Texture2D< NumComponents >::GetWrapMode ( ) const
inline

◆ IsValid()

template<vtkm::IdComponent NumComponents>
bool vtkm::rendering::Texture2D< NumComponents >::IsValid ( ) const
inline

◆ SetFilterMode()

template<vtkm::IdComponent NumComponents>
void vtkm::rendering::Texture2D< NumComponents >::SetFilterMode ( TextureFilterMode  filterMode)
inline

◆ SetWrapMode()

template<vtkm::IdComponent NumComponents>
void vtkm::rendering::Texture2D< NumComponents >::SetWrapMode ( TextureWrapMode  wrapMode)
inline

Member Data Documentation

◆ Data

template<vtkm::IdComponent NumComponents>
TextureDataHandle vtkm::rendering::Texture2D< NumComponents >::Data
private

◆ FilterMode

template<vtkm::IdComponent NumComponents>
TextureFilterMode vtkm::rendering::Texture2D< NumComponents >::FilterMode
private

◆ Height

template<vtkm::IdComponent NumComponents>
vtkm::Id vtkm::rendering::Texture2D< NumComponents >::Height
private

◆ Width

template<vtkm::IdComponent NumComponents>
vtkm::Id vtkm::rendering::Texture2D< NumComponents >::Width
private

◆ WrapMode

template<vtkm::IdComponent NumComponents>
TextureWrapMode vtkm::rendering::Texture2D< NumComponents >::WrapMode
private

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