VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::rendering::Texture2D< NumComponents >::Texture2DSampler Class Reference

#include <Texture2D.h>

Inheritance diagram for vtkm::rendering::Texture2D< NumComponents >::Texture2DSampler:
vtkm::cont::ExecutionObjectBase

Public Member Functions

VTKM_CONT Texture2DSampler ()
 
VTKM_CONT Texture2DSampler (vtkm::Id width, vtkm::Id height, const TextureDataHandle &data, TextureFilterMode filterMode, TextureWrapMode wrapMode)
 
template<typename Device >
VTKM_CONT Texture2DSamplerExecutionObject< Device > PrepareForExecution (Device, vtkm::cont::Token &token) const
 

Private Attributes

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

Constructor & Destructor Documentation

◆ Texture2DSampler() [1/2]

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

◆ Texture2DSampler() [2/2]

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

Member Function Documentation

◆ PrepareForExecution()

template<vtkm::IdComponent NumComponents>
template<typename Device >
VTKM_CONT Texture2DSamplerExecutionObject<Device> vtkm::rendering::Texture2D< NumComponents >::Texture2DSampler::PrepareForExecution ( Device  ,
vtkm::cont::Token token 
) const
inline

Member Data Documentation

◆ Data

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

◆ FilterMode

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

◆ Height

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

◆ Width

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

◆ WrapMode

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

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