|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CDeform2d Class ReferenceThis perform a 2d deformation effect on the frame buffer, by using the given function and surface.
More...
#include <deform_2d.h>
List of all members.
Detailed Description
This perform a 2d deformation effect on the frame buffer, by using the given function and surface.
This is intended to be used on small surfaces only (getting back data from the frame buffer to build a texture is really slow...) -
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2001
Definition at line 47 of file deform_2d.h.
Member Typedef Documentation
Member Function Documentation
void NL3D::CDeform2d::setupBuffer |
( |
uint |
width, |
|
|
uint |
height, |
|
|
uint |
xGranularity, |
|
|
uint |
yGranularity, |
|
|
uint |
xQuad, |
|
|
uint |
yQuad |
|
) |
[static] |
|
|
resize the granularity of buffers for fxs.
-
Parameters:
-
width |
frameBuffer width |
height |
framebuffer height |
xGranularity |
width of the quads taken from the framebuffer |
yGranularity |
height of the quads taken from the framebuffer |
xQuad |
width of the quads used to draw the fx (this is usually lower than xGanularity) |
yQuad |
height of the quads used to draw the fx (this is usually lower than yGanularity) |
Definition at line 55 of file deform_2d.cpp.
References _Height, _Tex, _Width, _XGranularity, _XQuad, _YGranularity, _YQuad, height, NLMISC::raiseToNextPowerOf2, and width. |
Member Data Documentation
uint NL3D::CDeform2d::_Height [static, protected]
|
|
uint NL3D::CDeform2d::_Width [static, protected]
|
|
uint NL3D::CDeform2d::_XGranularity [static, protected]
|
|
uint NL3D::CDeform2d::_XQuad [static, protected]
|
|
uint NL3D::CDeform2d::_YGranularity [static, protected]
|
|
uint NL3D::CDeform2d::_YQuad [static, protected]
|
|
The documentation for this class was generated from the following files:
|
|