A 2D array texture with multiple samples per pixel. More...
#include <Texture2DMultisampleArray.h>
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. |
A 2D array texture with multiple samples per pixel.
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.
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.
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.
int ork::Texture2DMultisampleArray::h [protected] |
The height of this texture.
int ork::Texture2DMultisampleArray::l [protected] |
The number of this layers of this texture.
int ork::Texture2DMultisampleArray::samples [protected] |
The number of samples per pixel of this texture.
int ork::Texture2DMultisampleArray::w [protected] |
The width of this texture.