ork::Texture2DMultisample Class Reference
[render]

A 2D texture with multiple samples per pixel. More...

#include <Texture2DMultisample.h>

Inheritance diagram for ork::Texture2DMultisample:
ork::Texture ork::Object

List of all members.

Public Member Functions

 Texture2DMultisample (int w, int h, int samples, TextureInternalFormat tf, bool fixedLocations)
 Creates a new 2D texture with multiple samples per pixel.
virtual ~Texture2DMultisample ()
 Destroys this 2D texture with multiple samples per pixel.
int getWidth ()
 Returns the width of this texture.
int getHeight ()
 Returns the height of this texture.
int getSamples ()
 Returns the number of samples per pixel of this texture.

Protected Attributes

int w
 The width of this texture.
int h
 The height of this texture.
int samples
 The number of samples per pixel of this texture.

Detailed Description

A 2D texture with multiple samples per pixel.


Constructor & Destructor Documentation

ork::Texture2DMultisample::Texture2DMultisample ( int  w,
int  h,
int  samples,
TextureInternalFormat  tf,
bool  fixedLocations 
)

Creates a new 2D texture with multiple samples per pixel.

Parameters:
w the width of this texture in pixels.
h the height of this texture in pixels.
samples the number of samples per pixel.
tf texture data format on GPU.
fixedLocations true to use fixed sample locations for all pixels.
virtual ork::Texture2DMultisample::~Texture2DMultisample (  )  [virtual]

Destroys this 2D texture with multiple samples per pixel.


Member Function Documentation

int ork::Texture2DMultisample::getHeight (  ) 

Returns the height of this texture.

int ork::Texture2DMultisample::getSamples (  ) 

Returns the number of samples per pixel of this texture.

int ork::Texture2DMultisample::getWidth (  ) 

Returns the width of this texture.


Member Data Documentation

The height of this texture.

The number of samples per pixel of this texture.

The width of this texture.


Generated on Mon Oct 18 09:36:10 2010 for ork by  doxygen 1.6.1