Cogs.Core
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Cogs::FourierTransform2D Class Reference

Public Member Functions

void initialize (IGraphicsDevice *device, GPGPUQuadRenderer &gpgpuQuadRenderer)
 
void setSize (int log2N)
 
void inverseFourierTransform (RenderContext &context, GPGPUQuadRenderer &gpgpuQuadRenderer, RenderTargetHandle &target, TextureHandle &source, bool doubleData=false)
 

Static Protected Member Functions

static TextureHandle createBakedTable (IGraphicsDevice *device, const int log2N)
 

Protected Attributes

IGraphicsDevicedevice
 
int log2N
 
EffectHandle passRadix2x2
 
InputLayoutHandle passRadix2x2InputLayout
 
EffectHandle passRadix2x2Double
 
InputLayoutHandle passRadix2x2DoubleInputLayout
 
BufferHandle constantBuffer
 
TextureHandle tableTex
 
TextureHandle scratchTex [2]
 
RenderTargetHandle scratchTarget [2]
 
TextureHandle scratchDoubleTex [2]
 
RenderTargetHandle scratchDoubleTarget [2]
 

Detailed Description

Definition at line 11 of file FourierTransform.h.

Constructor & Destructor Documentation

◆ FourierTransform2D()

Cogs::FourierTransform2D::FourierTransform2D ( )
inline

Definition at line 14 of file FourierTransform.h.

Member Function Documentation

◆ createBakedTable()

Cogs::TextureHandle Cogs::FourierTransform2D::createBakedTable ( IGraphicsDevice device,
const int  log2N 
)
staticprotected

Definition at line 49 of file FourierTransform.cpp.

◆ initialize()

void Cogs::FourierTransform2D::initialize ( IGraphicsDevice device,
GPGPUQuadRenderer gpgpuQuadRenderer 
)

Definition at line 91 of file FourierTransform.cpp.

◆ inverseFourierTransform()

void Cogs::FourierTransform2D::inverseFourierTransform ( RenderContext context,
GPGPUQuadRenderer gpgpuQuadRenderer,
RenderTargetHandle target,
TextureHandle source,
bool  doubleData = false 
)

Definition at line 140 of file FourierTransform.cpp.

◆ setSize()

void Cogs::FourierTransform2D::setSize ( int  log2N)

Definition at line 121 of file FourierTransform.cpp.

Member Data Documentation

◆ constantBuffer

BufferHandle Cogs::FourierTransform2D::constantBuffer
protected

Definition at line 37 of file FourierTransform.h.

◆ device

IGraphicsDevice* Cogs::FourierTransform2D::device
protected

Definition at line 28 of file FourierTransform.h.

◆ log2N

int Cogs::FourierTransform2D::log2N
protected

Definition at line 29 of file FourierTransform.h.

◆ passRadix2x2

EffectHandle Cogs::FourierTransform2D::passRadix2x2
protected

Definition at line 31 of file FourierTransform.h.

◆ passRadix2x2Double

EffectHandle Cogs::FourierTransform2D::passRadix2x2Double
protected

Definition at line 34 of file FourierTransform.h.

◆ passRadix2x2DoubleInputLayout

InputLayoutHandle Cogs::FourierTransform2D::passRadix2x2DoubleInputLayout
protected

Definition at line 35 of file FourierTransform.h.

◆ passRadix2x2InputLayout

InputLayoutHandle Cogs::FourierTransform2D::passRadix2x2InputLayout
protected

Definition at line 32 of file FourierTransform.h.

◆ scratchDoubleTarget

RenderTargetHandle Cogs::FourierTransform2D::scratchDoubleTarget[2]
protected

Definition at line 45 of file FourierTransform.h.

◆ scratchDoubleTex

TextureHandle Cogs::FourierTransform2D::scratchDoubleTex[2]
protected

Definition at line 44 of file FourierTransform.h.

◆ scratchTarget

RenderTargetHandle Cogs::FourierTransform2D::scratchTarget[2]
protected

Definition at line 42 of file FourierTransform.h.

◆ scratchTex

TextureHandle Cogs::FourierTransform2D::scratchTex[2]
protected

Definition at line 41 of file FourierTransform.h.

◆ tableTex

TextureHandle Cogs::FourierTransform2D::tableTex
protected

Definition at line 39 of file FourierTransform.h.


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