Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::ID3D11Device5 [−][src]
#[repr(transparent)]pub struct ID3D11Device5(_);
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]pub unsafe fn GetImmediateContext1(
&self,
ppimmediatecontext: *mut Option<ID3D11DeviceContext1>
)
[src]pub unsafe fn CreateDeferredContext1(
&self,
contextflags: u32,
ppdeferredcontext: *mut Option<ID3D11DeviceContext1>
) -> HRESULT
[src]pub unsafe fn CreateBlendState1(
&self,
pblendstatedesc: *const D3D11_BLEND_DESC1,
ppblendstate: *mut Option<ID3D11BlendState1>
) -> HRESULT
[src]pub unsafe fn CreateRasterizerState1(
&self,
prasterizerdesc: *const D3D11_RASTERIZER_DESC1,
pprasterizerstate: *mut Option<ID3D11RasterizerState1>
) -> HRESULT
[src]pub unsafe fn CreateDeviceContextState(
&self,
flags: u32,
pfeaturelevels: *const D3D_FEATURE_LEVEL,
featurelevels: u32,
sdkversion: u32,
emulatedinterface: *const Guid,
pchosenfeaturelevel: *mut D3D_FEATURE_LEVEL,
ppcontextstate: *mut Option<ID3DDeviceContextState>
) -> HRESULT
[src]pub unsafe fn GetImmediateContext2(
&self,
ppimmediatecontext: *mut Option<ID3D11DeviceContext2>
)
[src]pub unsafe fn CreateDeferredContext2(
&self,
contextflags: u32,
ppdeferredcontext: *mut Option<ID3D11DeviceContext2>
) -> HRESULT
[src]pub unsafe fn GetResourceTiling<'a>(
&self,
ptiledresource: impl IntoParam<'a, ID3D11Resource>,
pnumtilesforentireresource: *mut u32,
ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC,
pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE,
pnumsubresourcetilings: *mut u32,
firstsubresourcetilingtoget: u32,
psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING
)
[src]pub unsafe fn CheckMultisampleQualityLevels1(
&self,
format: DXGI_FORMAT,
samplecount: u32,
flags: u32,
pnumqualitylevels: *mut u32
) -> HRESULT
[src]pub unsafe fn CreateTexture2D1(
&self,
pdesc1: *const D3D11_TEXTURE2D_DESC1,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
pptexture2d: *mut Option<ID3D11Texture2D1>
) -> HRESULT
[src]pub unsafe fn CreateTexture3D1(
&self,
pdesc1: *const D3D11_TEXTURE3D_DESC1,
pinitialdata: *const D3D11_SUBRESOURCE_DATA,
pptexture3d: *mut Option<ID3D11Texture3D1>
) -> HRESULT
[src]pub unsafe fn CreateRasterizerState2(
&self,
prasterizerdesc: *const D3D11_RASTERIZER_DESC2,
pprasterizerstate: *mut Option<ID3D11RasterizerState2>
) -> HRESULT
[src]pub unsafe fn CreateShaderResourceView1<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc1: *const D3D11_SHADER_RESOURCE_VIEW_DESC1,
ppsrview1: *mut Option<ID3D11ShaderResourceView1>
) -> HRESULT
[src]pub unsafe fn CreateUnorderedAccessView1<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc1: *const D3D11_UNORDERED_ACCESS_VIEW_DESC1,
ppuaview1: *mut Option<ID3D11UnorderedAccessView1>
) -> HRESULT
[src]pub unsafe fn CreateRenderTargetView1<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc1: *const D3D11_RENDER_TARGET_VIEW_DESC1,
pprtview1: *mut Option<ID3D11RenderTargetView1>
) -> HRESULT
[src]pub unsafe fn CreateQuery1(
&self,
pquerydesc1: *const D3D11_QUERY_DESC1,
ppquery1: *mut Option<ID3D11Query1>
) -> HRESULT
[src]pub unsafe fn GetImmediateContext3(
&self,
ppimmediatecontext: *mut Option<ID3D11DeviceContext3>
)
[src]pub unsafe fn CreateDeferredContext3(
&self,
contextflags: u32,
ppdeferredcontext: *mut Option<ID3D11DeviceContext3>
) -> HRESULT
[src]pub unsafe fn WriteToSubresource<'a>(
&self,
pdstresource: impl IntoParam<'a, ID3D11Resource>,
dstsubresource: u32,
pdstbox: *const D3D11_BOX,
psrcdata: *const c_void,
srcrowpitch: u32,
srcdepthpitch: u32
)
[src]pub unsafe fn ReadFromSubresource<'a>(
&self,
pdstdata: *mut c_void,
dstrowpitch: u32,
dstdepthpitch: u32,
psrcresource: impl IntoParam<'a, ID3D11Resource>,
srcsubresource: u32,
psrcbox: *const D3D11_BOX
)
[src]pub unsafe fn RegisterDeviceRemovedEvent<'a>(
&self,
hevent: impl IntoParam<'a, HANDLE>,
pdwcookie: *mut u32
) -> HRESULT
[src]pub unsafe fn CreateFence<T: Interface>(
&self,
initialvalue: u64,
flags: D3D11_FENCE_FLAG
) -> Result<T>
[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 = ID3D11Device5_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 ID3D11Device5
impl !Send for ID3D11Device5
impl !Sync for ID3D11Device5
impl Unpin for ID3D11Device5
impl UnwindSafe for ID3D11Device5
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