XrdSceneWindow

XrdSceneWindow

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── XrdSceneObject
        ╰── XrdSceneWindow
            ├── XrdSceneDesktopCursor
            ╰── XrdScenePointerTip

Implemented Interfaces

XrdSceneWindow implements XrdWindow.

Includes

#include <xrdesktop.h>

Description

Functions

xrd_scene_window_new ()

XrdSceneWindow *
xrd_scene_window_new (const gchar *title);

xrd_scene_window_new_from_meters ()

XrdSceneWindow *
xrd_scene_window_new_from_meters (const gchar *title,
                                  float width,
                                  float height,
                                  float ppm);

xrd_scene_window_new_from_native ()

XrdSceneWindow *
xrd_scene_window_new_from_native (const gchar *title,
                                  gpointer native,
                                  uint32_t width_pixels,
                                  uint32_t height_pixels,
                                  float ppm);

xrd_scene_window_new_from_pixels ()

XrdSceneWindow *
xrd_scene_window_new_from_pixels (const gchar *title,
                                  uint32_t width,
                                  uint32_t height,
                                  float ppm);

xrd_scene_window_new_from_data ()

XrdSceneWindow *
xrd_scene_window_new_from_data (XrdWindowData *data);

xrd_scene_window_draw ()

void
xrd_scene_window_draw (XrdSceneWindow *self,
                       EVREye eye,
                       VkPipeline pipeline,
                       VkPipelineLayout pipeline_layout,
                       VkCommandBuffer cmd_buffer,
                       graphene_matrix_t *vp);

xrd_scene_window_initialize ()

gboolean
xrd_scene_window_initialize (XrdSceneWindow *self);

xrd_scene_window_set_color ()

void
xrd_scene_window_set_color (XrdSceneWindow *self,
                            const graphene_vec3_t *color);

xrd_scene_window_set_width_meters ()

void
xrd_scene_window_set_width_meters (XrdSceneWindow *self,
                                   float width_meters);

xrd_scene_window_update_descriptors ()

void
xrd_scene_window_update_descriptors (XrdSceneWindow *self);

Types and Values

XrdSceneWindow

typedef struct _XrdSceneWindow XrdSceneWindow;

struct XrdSceneWindowClass

struct XrdSceneWindowClass {
  XrdSceneObjectClass parent;
};

Members

XrdSceneObjectClass parent;

The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a XrdSceneWindowClass pointer to be cast to a XrdSceneObjectClass pointer.

 

XRD_TYPE_SCENE_WINDOW

#define XRD_TYPE_SCENE_WINDOW xrd_scene_window_get_type()