Panda3D
|
Provides an accessor for reading the contents of one row of the image in-place. More...
Public Member Functions | |
Xelval | getAlphaVal (int x) |
Fetch the alpha value at the given column in the row. More... | |
Xel | getXelVal (int x) |
Fetch the pixel at the given column in the row. More... | |
float | operator[] (int i) |
float | operator[] (int i) |
double | operator[] (int i) |
double | operator[] (int i) |
LColorf | operator[] (int x) |
size_t | size () |
Get the number of pixels in the row. More... | |
Static Public Member Functions | |
static int | size () |
Returns 3: the number of columns of a LMatrix3. More... | |
static int | size () |
Returns 4: the number of columns of a LMatrix4. More... | |
static int | size () |
Returns 3: the number of columns of a LMatrix3. More... | |
static int | size () |
Returns 4: the number of columns of a LMatrix4. More... | |
Provides an accessor for reading the contents of one row of the image in-place.
Xelval getAlphaVal | ( | int | x | ) |
Fetch the alpha value at the given column in the row.
Xel getXelVal | ( | int | x | ) |
Fetch the pixel at the given column in the row.
float operator[] | ( | int | i | ) |
float operator[] | ( | int | i | ) |
double operator[] | ( | int | i | ) |
double operator[] | ( | int | i | ) |
LColorf operator[] | ( | int | x | ) |
|
static |
Returns 3: the number of columns of a LMatrix3.
|
static |
Returns 4: the number of columns of a LMatrix4.
|
static |
Returns 3: the number of columns of a LMatrix3.
|
static |
Returns 4: the number of columns of a LMatrix4.
size_t size | ( | ) |
Get the number of pixels in the row.