Monado OpenXR Runtime
Loading...
Searching...
No Matches
sdl_swapchain Struct Reference

Sub-class of comp_swapchain, used to do OpenGL rendering. More...

#include <sdl_test/sdl_internal.h>

Collaboration diagram for sdl_swapchain:

Data Fields

struct comp_swapchain base
 
struct sdl_programsp
 Pointer back to main program.
 
int w
 Cached width and height.
 
int h
 
GLuint textures [XRT_MAX_SWAPCHAIN_IMAGES]
 Number of textures in base.base.base.image_count.
 
GLuint memory [XRT_MAX_SWAPCHAIN_IMAGES]
 Same number of images as textures.
 

Detailed Description

Sub-class of comp_swapchain, used to do OpenGL rendering.

Field Documentation

◆ memory

GLuint sdl_swapchain::memory[XRT_MAX_SWAPCHAIN_IMAGES]

Same number of images as textures.

◆ sp

struct sdl_program* sdl_swapchain::sp

Pointer back to main program.

Referenced by sdl_swapchain_create(), and sdl_swapchain_import().

◆ textures

GLuint sdl_swapchain::textures[XRT_MAX_SWAPCHAIN_IMAGES]

Number of textures in base.base.base.image_count.

◆ w

int sdl_swapchain::w

Cached width and height.


The documentation for this struct was generated from the following file: