Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::ID3D11Device [−][src]
#[repr(transparent)]pub struct ID3D11Device(_);
Implementations
pub unsafe fn CreateBuffer(
&self,
pdesc: *const D3D11_BUFFER_DESC,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
ppbuffer: *mut Option<ID3D11Buffer>
) -> HRESULT
[src]pub unsafe fn CreateTexture1D(
&self,
pdesc: *const D3D11_TEXTURE1D_DESC,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
pptexture1d: *mut Option<ID3D11Texture1D>
) -> HRESULT
[src]pub unsafe fn CreateTexture2D(
&self,
pdesc: *const D3D11_TEXTURE2D_DESC,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
pptexture2d: *mut Option<ID3D11Texture2D>
) -> HRESULT
[src]pub unsafe fn CreateTexture3D(
&self,
pdesc: *const D3D11_TEXTURE3D_DESC,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
pptexture3d: *mut Option<ID3D11Texture3D>
) -> HRESULT
[src]pub unsafe fn CreateShaderResourceView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_SHADER_RESOURCE_VIEW_DESC,
ppsrview: *mut Option<ID3D11ShaderResourceView>
) -> HRESULT
[src]pub unsafe fn CreateUnorderedAccessView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_UNORDERED_ACCESS_VIEW_DESC,
ppuaview: *mut Option<ID3D11UnorderedAccessView>
) -> HRESULT
[src]pub unsafe fn CreateRenderTargetView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_RENDER_TARGET_VIEW_DESC,
pprtview: *mut Option<ID3D11RenderTargetView>
) -> HRESULT
[src]pub unsafe fn CreateDepthStencilView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_DEPTH_STENCIL_VIEW_DESC,
ppdepthstencilview: *mut Option<ID3D11DepthStencilView>
) -> HRESULT
[src]pub unsafe fn CreateInputLayout(
&self,
pinputelementdescs: *const D3D11_INPUT_ELEMENT_DESC,
numelements: u32,
pshaderbytecodewithinputsignature: *const c_void,
bytecodelength: usize,
ppinputlayout: *mut Option<ID3D11InputLayout>
) -> HRESULT
[src]pub unsafe fn CreateVertexShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
ppvertexshader: *mut Option<ID3D11VertexShader>
) -> HRESULT
[src]pub unsafe fn CreateGeometryShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
ppgeometryshader: *mut Option<ID3D11GeometryShader>
) -> HRESULT
[src]pub unsafe fn CreateGeometryShaderWithStreamOutput<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
psodeclaration: *const D3D11_SO_DECLARATION_ENTRY,
numentries: u32,
pbufferstrides: *const u32,
numstrides: u32,
rasterizedstream: u32,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
ppgeometryshader: *mut Option<ID3D11GeometryShader>
) -> HRESULT
[src]pub unsafe fn CreatePixelShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
pppixelshader: *mut Option<ID3D11PixelShader>
) -> HRESULT
[src]pub unsafe fn CreateHullShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
pphullshader: *mut Option<ID3D11HullShader>
) -> HRESULT
[src]pub unsafe fn CreateDomainShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
ppdomainshader: *mut Option<ID3D11DomainShader>
) -> HRESULT
[src]pub unsafe fn CreateComputeShader<'a>(
&self,
pshaderbytecode: *const c_void,
bytecodelength: usize,
pclasslinkage: impl IntoParam<'a, ID3D11ClassLinkage>,
ppcomputeshader: *mut Option<ID3D11ComputeShader>
) -> HRESULT
[src]pub unsafe fn CreateClassLinkage(
&self,
pplinkage: *mut Option<ID3D11ClassLinkage>
) -> HRESULT
[src]pub unsafe fn CreateBlendState(
&self,
pblendstatedesc: *const D3D11_BLEND_DESC,
ppblendstate: *mut Option<ID3D11BlendState>
) -> HRESULT
[src]pub unsafe fn CreateDepthStencilState(
&self,
pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC,
ppdepthstencilstate: *mut Option<ID3D11DepthStencilState>
) -> HRESULT
[src]pub unsafe fn CreateRasterizerState(
&self,
prasterizerdesc: *const D3D11_RASTERIZER_DESC,
pprasterizerstate: *mut Option<ID3D11RasterizerState>
) -> HRESULT
[src]pub unsafe fn CreateSamplerState(
&self,
psamplerdesc: *const D3D11_SAMPLER_DESC,
ppsamplerstate: *mut Option<ID3D11SamplerState>
) -> HRESULT
[src]pub unsafe fn CreateQuery(
&self,
pquerydesc: *const D3D11_QUERY_DESC,
ppquery: *mut Option<ID3D11Query>
) -> HRESULT
[src]pub unsafe fn CreatePredicate(
&self,
ppredicatedesc: *const D3D11_QUERY_DESC,
pppredicate: *mut Option<ID3D11Predicate>
) -> HRESULT
[src]pub unsafe fn CreateCounter(
&self,
pcounterdesc: *const D3D11_COUNTER_DESC,
ppcounter: *mut Option<ID3D11Counter>
) -> HRESULT
[src]pub unsafe fn CreateDeferredContext(
&self,
contextflags: u32,
ppdeferredcontext: *mut Option<ID3D11DeviceContext>
) -> HRESULT
[src]pub unsafe fn CheckFormatSupport(
&self,
format: DXGI_FORMAT,
pformatsupport: *mut u32
) -> HRESULT
[src]pub unsafe fn CheckMultisampleQualityLevels(
&self,
format: DXGI_FORMAT,
samplecount: u32,
pnumqualitylevels: *mut u32
) -> HRESULT
[src]pub unsafe fn CheckCounter(
&self,
pdesc: *const D3D11_COUNTER_DESC,
ptype: *mut D3D11_COUNTER_TYPE,
pactivecounters: *mut u32,
szname: PSTR,
pnamelength: *mut u32,
szunits: PSTR,
punitslength: *mut u32,
szdescription: PSTR,
pdescriptionlength: *mut u32
) -> HRESULT
[src]pub unsafe fn CheckFeatureSupport(
&self,
feature: D3D11_FEATURE,
pfeaturesupportdata: *mut c_void,
featuresupportdatasize: u32
) -> HRESULT
[src]pub unsafe fn GetPrivateData(
&self,
guid: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> HRESULT
[src]pub unsafe fn SetPrivateData(
&self,
guid: *const Guid,
datasize: u32,
pdata: *const c_void
) -> HRESULT
[src]pub unsafe fn SetPrivateDataInterface<'a>(
&self,
guid: *const Guid,
pdata: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]pub unsafe fn GetImmediateContext(
&self,
ppimmediatecontext: *mut Option<ID3D11DeviceContext>
)
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID3D11Device_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID3D11Device
impl !Send for ID3D11Device
impl !Sync for ID3D11Device
impl Unpin for ID3D11Device
impl UnwindSafe for ID3D11Device
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more