Fermat
Public Methods | Public Members | List of all members
TextureView Struct Reference

Detailed description

A Texture view object to be used within CUDA kernels

#include <texture_view.h>

Public Methods

FERMAT_HOST_DEVICE float4 & operator() (const uint32 pixel)
 
FERMAT_HOST_DEVICE const float4 & operator() (const uint32 pixel) const
 
FERMAT_HOST_DEVICE float4 & operator() (const uint32 x, const uint32 y)
 
FERMAT_HOST_DEVICE const float4 & operator() (const uint32 x, const uint32 y) const
 
FERMAT_HOST_DEVICE const float4 * ptr () const
 
FERMAT_HOST_DEVICE float4 * ptr ()
 

Public Members

float4 * c
 
uint32 res_x
 
uint32 res_y
 

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