vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
vgl_d3d11_backend_create_info Struct Reference

#include <vgl/d3d11.h>

Public Attributes

uint32_t struct_size
 
vgl_depth_convention depth_convention
 
ID3D11Device * device
 
ID3D11DeviceContext * device_context
 

Detailed Description

Creation parameters of a backend. Zero-initialize, set struct_size, then fill in.

Member Data Documentation

◆ struct_size

uint32_t vgl_d3d11_backend_create_info::struct_size

◆ depth_convention

vgl_depth_convention vgl_d3d11_backend_create_info::depth_convention

How depth is written and compared (vgl/render.h). The default is logarithmic; the reversed-Z convention is the natural one on Direct3D 11.

◆ device

ID3D11Device* vgl_d3d11_backend_create_info::device

Required. The device, at feature level 11_0 or later. The backend holds a reference.

◆ device_context

ID3D11DeviceContext* vgl_d3d11_backend_create_info::device_context

Required. The device context to draw with, usually the immediate one. The backend holds a reference.


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