1 #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"]
3 pub struct Direct3DBindings(pub u32);
4 impl Direct3DBindings
{
5 pub const VertexBuffer
: Self = Self(1u32);
6 pub const IndexBuffer
: Self = Self(2u32);
7 pub const ConstantBuffer
: Self = Self(4u32);
8 pub const ShaderResource
: Self = Self(8u32);
9 pub const StreamOutput
: Self = Self(16u32);
10 pub const RenderTarget
: Self = Self(32u32);
11 pub const DepthStencil
: Self = Self(64u32);
12 pub const UnorderedAccess
: Self = Self(128u32);
13 pub const Decoder
: Self = Self(512u32);
14 pub const VideoEncoder
: Self = Self(1024u32);
16 impl ::core
::marker
::Copy
for Direct3DBindings {}
17 impl ::core
::clone
::Clone
for Direct3DBindings
{
18 fn clone(&self) -> Self {
23 #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"]
24 pub struct Direct3DMultisampleDescription
{
28 impl ::core
::marker
::Copy
for Direct3DMultisampleDescription {}
29 impl ::core
::clone
::Clone
for Direct3DMultisampleDescription
{
30 fn clone(&self) -> Self {
35 #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"]
36 pub struct Direct3DSurfaceDescription
{
39 pub Format
: super::DirectXPixelFormat
,
40 pub MultisampleDescription
: Direct3DMultisampleDescription
,
42 impl ::core
::marker
::Copy
for Direct3DSurfaceDescription {}
43 impl ::core
::clone
::Clone
for Direct3DSurfaceDescription
{
44 fn clone(&self) -> Self {
48 #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"]
50 pub struct Direct3DUsage(pub i32);
52 pub const Default
: Self = Self(0i32);
53 pub const Immutable
: Self = Self(1i32);
54 pub const Dynamic
: Self = Self(2i32);
55 pub const Staging
: Self = Self(3i32);
57 impl ::core
::marker
::Copy
for Direct3DUsage {}
58 impl ::core
::clone
::Clone
for Direct3DUsage
{
59 fn clone(&self) -> Self {
63 pub type IDirect3DDevice
= *mut ::core
::ffi
::c_void
;
64 pub type IDirect3DSurface
= *mut ::core
::ffi
::c_void
;