Documentation
¶
Overview ¶
Package device creates Direct3D 11 devices: the device of package d3d11's renderer, and that of the Windows backend, which shows the controls of windows with a material through DirectComposition without the renderer. It depends on nothing of Golet, so apps that draw no native UI link none of the renderer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a Direct3D 11 device and its immediate context, on the GPU or, when there is none, with Windows' software rasterizer (WARP), which software reports. The caller releases the device and the context.
func NewForVideo ¶ added in v0.1.18
NewForVideo is New for a device that decodes and converts video, as Media Foundation's: one that supports Direct3D's video API where the GPU has it, else as New.
Types ¶
This section is empty.