Monado OpenXR Runtime
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. More...
 
int w
 Cached width and height. More...
 
int h
 
GLuint textures [XRT_MAX_SWAPCHAIN_IMAGES]
 Number of textures in base.base.base.image_count. More...
 
GLuint memory [XRT_MAX_SWAPCHAIN_IMAGES]
 Same number of images as textures. More...
 

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.

◆ 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: