File: scene-background.h

package info (click to toggle)
gxr 0.15.1-4.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: ansic: 15,256; sh: 72; xml: 71; awk: 35; makefile: 12
file content (38 lines) | stat: -rw-r--r-- 972 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * gxr
 * Copyright 2018 Collabora Ltd.
 * Author: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
 * SPDX-License-Identifier: MIT
 */

#ifndef SCENE_BACKGROUND_H_
#define SCENE_BACKGROUND_H_

#include <glib-object.h>

#include <gxr.h>
#include <gulkan.h>

#include "scene-object.h"

G_BEGIN_DECLS

#define SCENE_TYPE_BACKGROUND scene_background_get_type()
G_DECLARE_FINAL_TYPE (SceneBackground, scene_background,
                      SCENE, BACKGROUND, SceneObject)

SceneBackground *
scene_background_new (GulkanClient          *gulkan,
                      VkDescriptorSetLayout *layout);

void
scene_background_render (SceneBackground *self,
                         GxrEye              eye,
                         VkPipeline          pipeline,
                         VkPipelineLayout    pipeline_layout,
                         VkCommandBuffer     cmd_buffer,
                         graphene_matrix_t  *vp);

G_END_DECLS

#endif /* SCENE_BACKGROUND_H_ */