ork::Texture2DMultisampleArray Class Reference
[render]

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

#include <Texture2DMultisampleArray.h>

Inheritance diagram for ork::Texture2DMultisampleArray:
ork::Texture ork::Object

List of all members.

Public Member Functions

 Texture2DMultisampleArray (int w, int h, int l, int samples, TextureInternalFormat tf, bool fixedLocations)
 Creates a new 2D texture array with multiple samples per pixel.
virtual ~Texture2DMultisampleArray ()
 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 getLayers ()
 Returns the number of layers 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 l
 The number of this layers of this texture.
int samples
 The number of samples per pixel of this texture.

Detailed Description

A 2D array texture with multiple samples per pixel.


Constructor & Destructor Documentation

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

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

Parameters:
w the width of this texture in pixels.
h the height of this texture in pixels.
l the number of layers of this texture.
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::Texture2DMultisampleArray::~Texture2DMultisampleArray (  )  [virtual]

Destroys this 2D texture with multiple samples per pixel.


Member Function Documentation

int ork::Texture2DMultisampleArray::getHeight (  ) 

Returns the height of this texture.

int ork::Texture2DMultisampleArray::getLayers (  ) 

Returns the number of layers of this texture.

int ork::Texture2DMultisampleArray::getSamples (  ) 

Returns the number of samples per pixel of this texture.

int ork::Texture2DMultisampleArray::getWidth (  ) 

Returns the width of this texture.


Member Data Documentation

The height of this texture.

The number of this layers 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