|
vgl 1.0.0
Virtual Globe Library: API reference
|
#include <vgl/d3d11.h>
Public Attributes | |
| uint32_t | struct_size |
| vgl_depth_convention | depth_convention |
| ID3D11Device * | device |
| ID3D11DeviceContext * | device_context |
Creation parameters of a backend. Zero-initialize, set struct_size, then fill in.
| uint32_t vgl_d3d11_backend_create_info::struct_size |
| 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.
| ID3D11Device* vgl_d3d11_backend_create_info::device |
Required. The device, at feature level 11_0 or later. The backend holds a reference.
| ID3D11DeviceContext* vgl_d3d11_backend_create_info::device_context |
Required. The device context to draw with, usually the immediate one. The backend holds a reference.