An adapter between a dataset of a specified size and a texture map with power-of-two dimensions.
More...
An adapter between a dataset of a specified size and a texture map with power-of-two dimensions.
Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.PowerOfTwoTextureAdapter |
( |
int |
dataWidth, |
|
|
int |
dataHeight |
|
) |
| |
Initializes a new instance of the T:Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter class.
- Parameters
-
dataWidth | The width of the data for the texture map. |
dataHeight | The width of the data for the texture map. |
byte [,] Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.NewTextureMap |
( |
| ) |
|
Returns a texture map with: a byte[TextureHeight, TextureWidth].
int Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.DataHeight |
|
get |
Gets the height of the data.
int Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.DataWidth |
|
get |
Gets the width of the data.
float [,] Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.TextureCoordinates |
|
get |
Gets the texture coordinates.
int Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.TextureHeight |
|
get |
Gets the height of the texture (a power of two).
int Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.TextureWidth |
|
get |
Gets the width of the texture (a power of two).
float Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.UMax |
|
get |
float Durwella.Unplugged.Viz.PowerOfTwoTextureAdapter.VMax |
|
get |
The documentation for this class was generated from the following file:
- PowerOfTwoTextureAdapter.cs