#[repr(transparent)]pub struct Device(_);
Expand description
[docs.microsoft.com] Core interface used for general rendering, resource creation, etc.
Table of Contents
Topic | Overview |
---|---|
Common | … |
Drawing | Draw primitives |
Buffers | Bind/Create/Update IndexBuffers and VertexBuffers |
Queries | Create/Check Occlusion and other Querys |
Shaders | Bind/Create PixelShaders and VertexShaders |
StateBlocks | Create/Capture/Replay Direct3D states via StateBlocks |
Surfaces | Bind/Create Surfaces for back buffers, render targets, depth stencil, etc. |
SwapChains | Create SwapChains / SwapChainExs for multi-window rendering |
Textures | Bind/Create/Update Textures, CubeTextures, and VolumeTextures |
VertexDeclarations | Bind/Create VertexDeclarations for describing VertexBuffer layouts |
Miscellanious | Metadata, etc. |
Lighting | Configure (and query) Lighting |
Viewports | Configure (and query) the Viewport |
Trait Implementations
Performs the conversion.
Performs the conversion.
type Raw = IDirect3DDevice9
type Raw = IDirect3DDevice9
The raw underlying winapi type
Take ownership from a raw winapi type, panicing if raw
is null. Read more
Auto Trait Implementations
impl RefUnwindSafe for Device
impl UnwindSafe for Device
Blanket Implementations
Mutably borrows from an owned value. Read more