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

Detailed description

Framebuffer channel view object, to be used within CUDA kernels

#include <framebuffer.h>

Public Methods

FERMAT_HOST_DEVICE float4 & operator() (const uint32_t pixel)
 
FERMAT_HOST_DEVICE const float4 & operator() (const uint32_t pixel) const
 
FERMAT_HOST_DEVICE float4 & operator() (const uint32_t x, const uint32_t y)
 
FERMAT_HOST_DEVICE const float4 & operator() (const uint32_t x, const uint32_t y) const
 
FERMAT_HOST_DEVICE float4 & operator() (const uint2 pixel)
 
FERMAT_HOST_DEVICE const float4 & operator() (const uint2 pixel) const
 
FERMAT_HOST_DEVICE float4 & operator() (const int2 pixel)
 
FERMAT_HOST_DEVICE const float4 & operator() (const int2 pixel) const
 
FERMAT_HOST_DEVICE const float4 * ptr () const
 
FERMAT_HOST_DEVICE float4 * ptr ()
 

Public Members

float4 * c_ptr
 
uint32_t res_x
 
uint32_t res_y
 

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