![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Public Types | |
enum class | cmp_status : dcpp::int8_kt { same_ref = 0 , null_device_1 , null_device_2 , null_counter_1 , null_counter_2 , no_device_1 , no_device_2 , device_ne , counter_ne } |
Public Member Functions | |
void | destroy () |
dcpp::int32_kt | use_count () const |
shared_device (dcpp::video::E_DRIVER_TYPE edt__, const dcpp::nub::dimension2du &window_size__, dcpp::uint32_kt color_bits__, bool fullscreen__, bool stencilbuffer__, bool vsync__, dcpp::IEventReceiver *receiver__) | |
shared_device (dcpp::uint32_kt width__, dcpp::uint32_kt height__, const std::wstring &title__, bool fullscreen__=false, dcpp::video::E_DRIVER_TYPE edt__=dcpp::video::EDT_EGXU) | |
shared_device (dcpp::uint32_kt width__, dcpp::uint32_kt height__, const std::string &title__="Duckcpp Window, c++ engine", bool fullscreen__=false, dcpp::video::E_DRIVER_TYPE edt__=dcpp::video::EDT_EGXU) | |
shared_device (dcpp::video::E_DRIVER_TYPE edt__) | |
shared_device (const self_type &other__) | |
shared_device (const self_type &&other__) | |
bool | has_device () const |
self_type & | operator= (const self_type &other__) |
self_type & | operator= (const self_type &&other__) |
bool | operator== (const self_type &other__) const |
self_type::cmp_status | compare (const self_type &other__) const |
bool | operator< (const self_type &other__) const =delete |
bool | operator<= (const self_type &other__) const =delete |
bool | operator> (const self_type &other__) const =delete |
bool | operator>= (const self_type &other__) const =delete |
bool | operator<=> (const self_type &other__) const =delete |
dcpp::DuckcppDevice * | get () const |
dcpp::video::IVideoDriver * | video () const |
dcpp::scene::ISceneManager * | scene () const |
dcpp::io::IFileSystem * | fs () const |
dcpp::gui::IGUIEnvironment * | gui () const |
dcpp::gui::ICursorControl * | cursor () const |
void | fit_cursor () |
dcpp::ITimer * | timer () const |
dcpp::ILogger * | logger () const |
const dcpp::char_kt * | version () const |
dcpp::IOSOperator * | osop () const |
dcpp::IRandomizer * | randomizer () const |
void | randomizer (dcpp::IRandomizer *rd__) |
dcpp::IRandomizer * | create_default_randomizer () const |
dcpp::video::IContextManager * | context () const |
if it does not have it. | |
bool | run () |
void | yield () |
void | close () |
void | sleep (dcpp::float32_kt time__, bool pause_timer__=false) |
void | caption (const std::wstring &title__) |
void | caption (const std::string &title__) |
dcpp::video::ECOLOR_FORMAT | color_format () const |
dcpp::video::IVideoModeList * | mode_list () |
void | receiver (dcpp::IEventReceiver *receiver__) |
dcpp::IEventReceiver * | receiver () const |
bool | post_user_event (dcpp::SEvent &event__) |
void | receiving_scene (dcpp::scene::ISceneManager *scene__) |
void | resize (dcpp::uint32_kt width__, dcpp::uint32_kt height__) |
void | resizable (bool value__) |
bool | fullscreen () const |
bool | window_active () const |
bool | window_focused () const |
bool | window_minimized () const |
void | minimize_window () |
void | maximize_window () |
void | restore_window () |
dcpp::nub::position2di | window_position () const |
bool | activate_joysticks (dcpp::nub::array< dcpp::SJoystickInfo > &joysticks_info__) |
self_type::returned_gamma_ramp_type | gamma_ramp () |
bool | gamma_ramp (dcpp::float32_kt red__, dcpp::float32_kt green__, dcpp::float32_kt blue__, dcpp::float32_kt brightness__, dcpp::float32_kt contrast__) |
void | double_click_time (dcpp::uint32_kt time_ms__) |
dcpp::uint32_kt | double_click_time () const |
void | clear_system_messages () |
dcpp::E_DEVICE_TYPE | type () const |
self_type::returned_tuple_type | tuple () const |
Static Public Member Functions | |
static std::string | cmp_string (self_type::cmp_status status__) |
static bool | driver_supported (dcpp::video::E_DRIVER_TYPE edt__) |
Static Public Attributes | |
static dcpp::int32_kt | device_creation_counter |
static dcpp::int32_kt | device_destroy_counter |
Protected Attributes | |
std::shared_ptr< dcpp::int32_kt > | __counter {nullptr} |
dcpp::DuckcppDevice * | __device {nullptr} |