MCPcopy Create free account
hub / github.com/DavidColson/Polybox / SokolGetEnvironment

Function SokolGetEnvironment

source/graphics_platform_d3d11.cpp:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77// ***********************************************************************
78
79sg_environment SokolGetEnvironment() {
80 return sg_environment{
81 .defaults = {
82 .color_format = SG_PIXELFORMAT_BGRA8,
83 .depth_format = SG_PIXELFORMAT_DEPTH_STENCIL,
84 .sample_count = 1,
85 },
86 .d3d11 = {
87 .device = pDevice,
88 .device_context = pDeviceContext,
89 }
90 };
91}
92
93// ***********************************************************************
94

Callers 1

GraphicsInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected