Skip to main content

Crate d3d11

Crate d3d11 

Source

Re-exports§

pub use d3d11_ffi as sys;

Modules§

dxgi
fxc

Macros§

cast_optional_resource_refs
Helper macro to cast a slice of Option<&Resource> to a SmallVec of Option<NonNull<c_void>> for use in D3D11 methods that take raw resource pointers.
impl_asynchronous
impl_device_child
impl_resource
verify_ffi_struct
Verifies that the given struct has the same size as the corresponding FFI struct, and generates an as_ffi method that returns a pointer to the FFI struct.

Structs§

BindFlags
BlendDesc
BlendDescBuilder
Use builder syntax to set the inputs and finish with build().
BlendState
Box3D
Buffer
BufferDesc
BufferDescBuilder
Use builder syntax to set the inputs and finish with build().
ClearFlags
CommandList
ComputeShader
Counter
CpuAccessFlags
D3D11_QUERY_DATA_TIMESTAMP_DISJOINT
D3D11_SUBRESOURCE_DATA
DepthStencilDesc
DepthStencilDescBuilder
Use builder syntax to set the inputs and finish with build().
DepthStencilOpDesc
DepthStencilOpDescBuilder
Use builder syntax to set the inputs and finish with build().
DepthStencilState
DepthStencilView
DepthStencilViewDesc
DepthStencilViewDescBuilder
Use builder syntax to set the inputs and finish with build().
Device
DeviceContext
DomainShader
DsvFlags
FormatSupport
GeometryShader
HWND
HullShader
InputElementDesc
InputElementDescBuilder
Use builder syntax to set the inputs and finish with build().
InputLayout
MappedSubresource
PixelShader
Predicate
Query
QueryDesc
RasterizerDesc
RasterizerDescBuilder
Use builder syntax to set the inputs and finish with build().
RasterizerState
Rect
RenderTargetBlendDesc
RenderTargetBlendDescBuilder
Use builder syntax to set the inputs and finish with build().
RenderTargetView
RenderTargetViewDesc
RenderTargetViewDescBuilder
Use builder syntax to set the inputs and finish with build().
ResourceMiscFlags
SamplerDesc
SamplerDescBuilder
Use builder syntax to set the inputs and finish with build().
SamplerState
ShaderResourceView
ShaderResourceViewDesc
ShaderResourceViewDescBuilder
Use builder syntax to set the inputs and finish with build().
SrvBufferExFlags
SubresourceMapGuard
Texture1D
Texture1dDesc
Texture1dDescBuilder
Use builder syntax to set the inputs and finish with build().
Texture2D
Texture2dDesc
Texture2dDescBuilder
Use builder syntax to set the inputs and finish with build().
Texture3D
Texture3dDesc
Texture3dDescBuilder
Use builder syntax to set the inputs and finish with build().
UnorderedAccessView
UnorderedAccessViewDesc
UnorderedAccessViewDescBuilder
Use builder syntax to set the inputs and finish with build().
UserDefinedAnnotation
VertexShader
Viewport

Enums§

Blend
BlendOp
ComparisonFunc
CullMode
DepthWriteMask
DeviceContextType
DsvDimension
ElementOffset
Error
FillMode
Filter
GetDataResult
InputClassification
MapType
PrimitiveTopology
QueryType
RtvDimension
SrvDimension
StencilOp
TextureAddress
UavDimension
Usage

Traits§

Asynchronous
DeviceChild
Resource

Functions§

calc_mip_count
calc_subresource_index
fxc_compileDeprecated

Type Aliases§

Result