XrdSceneVector

XrdSceneVector

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── XrdSceneObject
        ╰── XrdSceneVector

Includes

#include <xrdesktop.h>

Description

Functions

xrd_scene_vector_initialize ()

gboolean
xrd_scene_vector_initialize (XrdSceneVector *self,
                             GulkanDevice *device,
                             VkDescriptorSetLayout *layout);

xrd_scene_vector_new ()

XrdSceneVector *
xrd_scene_vector_new (void);

xrd_scene_vector_render ()

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

xrd_scene_vector_update ()

void
xrd_scene_vector_update (XrdSceneVector *self,
                         graphene_vec4_t *start,
                         graphene_vec4_t *end,
                         graphene_vec3_t *color);

xrd_scene_vector_update_from_plane ()

void
xrd_scene_vector_update_from_plane (XrdSceneVector *self,
                                    graphene_plane_t *plane,
                                    graphene_vec3_t *color);

xrd_scene_vector_update_from_ray ()

void
xrd_scene_vector_update_from_ray (XrdSceneVector *self,
                                  graphene_ray_t *ray,
                                  graphene_vec3_t *color);

Types and Values

XrdSceneVector

typedef struct _XrdSceneVector XrdSceneVector;

XRD_TYPE_SCENE_VECTOR

#define XRD_TYPE_SCENE_VECTOR xrd_scene_vector_get_type()