VTK-m  2.0
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

VTKM_CONT Texture2D ()
 
VTKM_CONT Texture2D (vtkm::Id width, vtkm::Id height, const TextureDataHandle &data)
 
VTKM_CONT bool IsValid () const
 
VTKM_CONT TextureFilterMode GetFilterMode () const
 
VTKM_CONT void SetFilterMode (TextureFilterMode filterMode)
 
VTKM_CONT TextureWrapMode GetWrapMode () const
 
VTKM_CONT void SetWrapMode (TextureWrapMode wrapMode)
 
VTKM_CONT 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_CONT vtkm::rendering::Texture2D< NumComponents >::Texture2D ( )
inline

◆ Texture2D() [2/2]

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

Member Function Documentation

◆ GetExecObjectFactory()

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

◆ GetFilterMode()

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

◆ GetWrapMode()

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

◆ IsValid()

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

◆ SetFilterMode()

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

◆ SetWrapMode()

template<vtkm::IdComponent NumComponents>
VTKM_CONT 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: