class Viewport
Class for generating viewport-related commands. First assign values to each x, y, width, and height member, then generate a command using MakeCommand().
| x | Lower left x-coordinate of the viewport. Type is f32. | |
|---|---|---|
| y | Lower left y-coordinate of the viewport. Type is f32. | |
| width | Width of the viewport. Type is u32. | |
| height | Height of the viewport. Type is u32. |
| Viewport | Constructor for initializing to default values (0, 0, 240, 320). | |
|---|---|---|
| MakeCommand | Generates a rendering command based on information already set. | |
Set
|
Convenient function for specifying parameters all at once. You may assign values directly to member variables without using this function. |
CONFIDENTIAL