#include <screen_rect.h>
Public Member Functions | |
const Rect & | getCorners () |
const rve_common::UUID & | getID () |
uint32_t | getZOrder () |
void | setColor (Color c) |
void | setCorners (float x0, float y0, float x1, float y1) |
void | setOpacity (float opacity) |
void | setTexture (const TexturePtr &tex) |
void | setTexture (const std::string &resource_path) |
void | setZOrder (uint32_t zorder) |
Private Member Functions | |
void | create (ClientContext *context) |
void | destroy (ClientContext *context) |
rve_interfaces::ScreenRectProxy * | getProxy () |
ScreenRect (const rve_common::UUID &render_target_id, uint32_t zorder, float x0, float y0, float x1, float y1) | |
~ScreenRect () | |
Private Attributes | |
Color | color_ |
ClientContext * | context_ |
rve_common::UUID | id_ |
float | opacity_ |
InterfaceHandle | proxy_handle_ |
Rect | rect_ |
rve_common::UUID | render_target_id_ |
TexturePtr | texture_ |
std::string | texture_resource_ |
uint32_t | zorder_ |
Friends | |
class | RenderTarget |
Definition at line 62 of file screen_rect.h.
rve_render_client::ScreenRect::ScreenRect | ( | const rve_common::UUID & | render_target_id, |
uint32_t | zorder, | ||
float | x0, | ||
float | y0, | ||
float | x1, | ||
float | y1 | ||
) | [private] |
Definition at line 43 of file screen_rect.cpp.
rve_render_client::ScreenRect::~ScreenRect | ( | ) | [private] |
Definition at line 53 of file screen_rect.cpp.
void rve_render_client::ScreenRect::create | ( | ClientContext * | context | ) | [private] |
Definition at line 64 of file screen_rect.cpp.
void rve_render_client::ScreenRect::destroy | ( | ClientContext * | context | ) | [private] |
Definition at line 87 of file screen_rect.cpp.
const Rect& rve_render_client::ScreenRect::getCorners | ( | ) | [inline] |
Definition at line 71 of file screen_rect.h.
const rve_common::UUID& rve_render_client::ScreenRect::getID | ( | ) | [inline] |
Definition at line 65 of file screen_rect.h.
rve_interfaces::ScreenRectProxy * rve_render_client::ScreenRect::getProxy | ( | ) | [private] |
Definition at line 57 of file screen_rect.cpp.
uint32_t rve_render_client::ScreenRect::getZOrder | ( | ) | [inline] |
Definition at line 68 of file screen_rect.h.
void rve_render_client::ScreenRect::setColor | ( | Color | c | ) |
Definition at line 128 of file screen_rect.cpp.
void rve_render_client::ScreenRect::setCorners | ( | float | x0, |
float | y0, | ||
float | x1, | ||
float | y1 | ||
) |
Definition at line 98 of file screen_rect.cpp.
void rve_render_client::ScreenRect::setOpacity | ( | float | opacity | ) |
Definition at line 118 of file screen_rect.cpp.
void rve_render_client::ScreenRect::setTexture | ( | const TexturePtr & | tex | ) |
Definition at line 143 of file screen_rect.cpp.
void rve_render_client::ScreenRect::setTexture | ( | const std::string & | resource_path | ) |
Definition at line 154 of file screen_rect.cpp.
void rve_render_client::ScreenRect::setZOrder | ( | uint32_t | zorder | ) |
Definition at line 108 of file screen_rect.cpp.
friend class RenderTarget [friend] |
Definition at line 101 of file screen_rect.h.
Color rve_render_client::ScreenRect::color_ [private] |
Definition at line 96 of file screen_rect.h.
Definition at line 93 of file screen_rect.h.
Definition at line 87 of file screen_rect.h.
float rve_render_client::ScreenRect::opacity_ [private] |
Definition at line 99 of file screen_rect.h.
Definition at line 94 of file screen_rect.h.
Rect rve_render_client::ScreenRect::rect_ [private] |
Definition at line 91 of file screen_rect.h.
Definition at line 88 of file screen_rect.h.
Definition at line 97 of file screen_rect.h.
std::string rve_render_client::ScreenRect::texture_resource_ [private] |
Definition at line 98 of file screen_rect.h.
uint32_t rve_render_client::ScreenRect::zorder_ [private] |
Definition at line 90 of file screen_rect.h.