The Nebula Device 3: PreShaders::BoxFilterKernel Class Reference

The Nebula Device 3

PreShaders::BoxFilterKernel Class Reference

#include <boxfilterkernel.h>


Detailed Description

Implements a simple pre-shader which writes a 2x2 box filter kernel for generating mipmaps.

(C) 2007 Radon Labs GmbH

Public Member Functions

virtual void OnAttach (const Ptr< CoreGraphics::ShaderInstance > &shdInst)
 called when attached to shader instance
virtual void OnDetach ()
 called when detached from shader instance
virtual void OnApply ()
 called before rendering the shader