mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update 40.0.14-preview metadata and start using Rect and RectF.
This commit is contained in:
@@ -413,9 +413,9 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext::RSSetScissorRects"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(45)]
|
||||
public void RSSetScissorRects(uint NumRects, RawRect* pRects)
|
||||
public void RSSetScissorRects(uint NumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext*, uint, RawRect*, void>)(lpVtbl[45]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext*, uint, Rect*, void>)(lpVtbl[45]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext::CopySubresourceRegion"]/*' />
|
||||
@@ -821,9 +821,9 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext::RSGetScissorRects"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(96)]
|
||||
public void RSGetScissorRects(uint* pNumRects, RawRect* pRects)
|
||||
public void RSGetScissorRects(uint* pNumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext*, uint*, RawRect*, void>)(lpVtbl[96]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext*, uint*, Rect*, void>)(lpVtbl[96]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext::HSGetShaderResources"]/*' />
|
||||
@@ -1087,7 +1087,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface
|
||||
void RSSetViewports(uint NumViewports, Viewport* pViewports);
|
||||
|
||||
[VtblIndex(45)]
|
||||
void RSSetScissorRects(uint NumRects, RawRect* pRects);
|
||||
void RSSetScissorRects(uint NumRects, Rect* pRects);
|
||||
|
||||
[VtblIndex(46)]
|
||||
void CopySubresourceRegion(ID3D11Resource* pDstResource, uint DstSubresource, uint DstX, uint DstY, uint DstZ, ID3D11Resource* pSrcResource, uint SrcSubresource, Box* pSrcBox);
|
||||
@@ -1240,7 +1240,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface
|
||||
void RSGetViewports(uint* pNumViewports, Viewport* pViewports);
|
||||
|
||||
[VtblIndex(96)]
|
||||
void RSGetScissorRects(uint* pNumRects, RawRect* pRects);
|
||||
void RSGetScissorRects(uint* pNumRects, Rect* pRects);
|
||||
|
||||
[VtblIndex(97)]
|
||||
void HSGetShaderResources(uint StartSlot, uint NumViews, ID3D11ShaderResourceView** ppShaderResourceViews);
|
||||
|
||||
@@ -413,9 +413,9 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSSetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(45)]
|
||||
public void RSSetScissorRects(uint NumRects, RawRect* pRects)
|
||||
public void RSSetScissorRects(uint NumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, uint, RawRect*, void>)(lpVtbl[45]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, uint, Rect*, void>)(lpVtbl[45]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.CopySubresourceRegion" />
|
||||
@@ -821,9 +821,9 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSGetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(96)]
|
||||
public void RSGetScissorRects(uint* pNumRects, RawRect* pRects)
|
||||
public void RSGetScissorRects(uint* pNumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, uint*, RawRect*, void>)(lpVtbl[96]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, uint*, Rect*, void>)(lpVtbl[96]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.HSGetShaderResources" />
|
||||
@@ -1109,17 +1109,17 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext1::ClearView"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(132)]
|
||||
public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects)
|
||||
public void ClearView(ID3D11View* pView, float* Color, Rect* pRect, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, ID3D11View*, float*, RawRect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, ID3D11View*, float*, Rect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext1::DiscardView1"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(133)]
|
||||
public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects)
|
||||
public void DiscardView1(ID3D11View* pResourceView, Rect* pRects, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, ID3D11View*, RawRect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext1*, ID3D11View*, Rect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
}
|
||||
|
||||
public interface Interface : ID3D11DeviceContext.Interface
|
||||
@@ -1176,10 +1176,10 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa
|
||||
void SwapDeviceContextState(ID3DDeviceContextState* pState, ID3DDeviceContextState** ppPreviousState);
|
||||
|
||||
[VtblIndex(132)]
|
||||
void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects);
|
||||
void ClearView(ID3D11View* pView, float* Color, Rect* pRect, uint NumRects);
|
||||
|
||||
[VtblIndex(133)]
|
||||
void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects);
|
||||
void DiscardView1(ID3D11View* pResourceView, Rect* pRects, uint NumRects);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -413,9 +413,9 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSSetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(45)]
|
||||
public void RSSetScissorRects(uint NumRects, RawRect* pRects)
|
||||
public void RSSetScissorRects(uint NumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, uint, RawRect*, void>)(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, uint, Rect*, void>)(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.CopySubresourceRegion" />
|
||||
@@ -821,9 +821,9 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSGetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(96)]
|
||||
public void RSGetScissorRects(uint* pNumRects, RawRect* pRects)
|
||||
public void RSGetScissorRects(uint* pNumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, uint*, RawRect*, void>)(lpVtbl[96]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, uint*, Rect*, void>)(lpVtbl[96]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.HSGetShaderResources" />
|
||||
@@ -1109,17 +1109,17 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.ClearView" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(132)]
|
||||
public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects)
|
||||
public void ClearView(ID3D11View* pView, float* Color, Rect* pRect, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, ID3D11View*, float*, RawRect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, ID3D11View*, float*, Rect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.DiscardView1" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(133)]
|
||||
public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects)
|
||||
public void DiscardView1(ID3D11View* pResourceView, Rect* pRects, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, ID3D11View*, RawRect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext2*, ID3D11View*, Rect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11DeviceContext2::UpdateTileMappings"]/*' />
|
||||
|
||||
@@ -413,9 +413,9 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSSetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(45)]
|
||||
public void RSSetScissorRects(uint NumRects, RawRect* pRects)
|
||||
public void RSSetScissorRects(uint NumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, uint, RawRect*, void>)(lpVtbl[45]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, uint, Rect*, void>)(lpVtbl[45]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.CopySubresourceRegion" />
|
||||
@@ -821,9 +821,9 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSGetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(96)]
|
||||
public void RSGetScissorRects(uint* pNumRects, RawRect* pRects)
|
||||
public void RSGetScissorRects(uint* pNumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, uint*, RawRect*, void>)(lpVtbl[96]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, uint*, Rect*, void>)(lpVtbl[96]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.HSGetShaderResources" />
|
||||
@@ -1109,17 +1109,17 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.ClearView" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(132)]
|
||||
public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects)
|
||||
public void ClearView(ID3D11View* pView, float* Color, Rect* pRect, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, ID3D11View*, float*, RawRect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, ID3D11View*, float*, Rect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.DiscardView1" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(133)]
|
||||
public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects)
|
||||
public void DiscardView1(ID3D11View* pResourceView, Rect* pRects, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, ID3D11View*, RawRect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext3*, ID3D11View*, Rect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext2.UpdateTileMappings" />
|
||||
|
||||
@@ -413,9 +413,9 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSSetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(45)]
|
||||
public void RSSetScissorRects(uint NumRects, RawRect* pRects)
|
||||
public void RSSetScissorRects(uint NumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, uint, RawRect*, void>)(lpVtbl[45]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, uint, Rect*, void>)(lpVtbl[45]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), NumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.CopySubresourceRegion" />
|
||||
@@ -821,9 +821,9 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.RSGetScissorRects" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(96)]
|
||||
public void RSGetScissorRects(uint* pNumRects, RawRect* pRects)
|
||||
public void RSGetScissorRects(uint* pNumRects, Rect* pRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, uint*, RawRect*, void>)(lpVtbl[96]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, uint*, Rect*, void>)(lpVtbl[96]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pNumRects, pRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext.HSGetShaderResources" />
|
||||
@@ -1109,17 +1109,17 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.ClearView" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(132)]
|
||||
public void ClearView(ID3D11View* pView, float* Color, RawRect* pRect, uint NumRects)
|
||||
public void ClearView(ID3D11View* pView, float* Color, Rect* pRect, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, ID3D11View*, float*, RawRect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, ID3D11View*, float*, Rect*, uint, void>)(lpVtbl[132]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pView, Color, pRect, NumRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext1.DiscardView1" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(133)]
|
||||
public void DiscardView1(ID3D11View* pResourceView, RawRect* pRects, uint NumRects)
|
||||
public void DiscardView1(ID3D11View* pResourceView, Rect* pRects, uint NumRects)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, ID3D11View*, RawRect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11DeviceContext4*, ID3D11View*, Rect*, uint, void>)(lpVtbl[133]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pResourceView, pRects, NumRects);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11DeviceContext2.UpdateTileMappings" />
|
||||
|
||||
@@ -157,9 +157,9 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputTargetRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, RawRect*, void>)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetOutputBackgroundColor"]/*' />
|
||||
@@ -213,9 +213,9 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputTargetRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect)
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, RawRect*, void>)(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetOutputBackgroundColor"]/*' />
|
||||
@@ -293,17 +293,17 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamSourceRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamDestRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorSetStreamAlpha"]/*' />
|
||||
@@ -397,17 +397,17 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamSourceRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamDestRect"]/*' />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <include file='../Direct3D11.xml' path='doc/member[@name="ID3D11VideoContext::VideoProcessorGetStreamAlpha"]/*' />
|
||||
@@ -591,7 +591,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
int DecoderExtension(ID3D11VideoDecoder* pDecoder, VideoDecoderExtension* pExtensionData);
|
||||
|
||||
[VtblIndex(13)]
|
||||
void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect);
|
||||
void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect);
|
||||
|
||||
[VtblIndex(14)]
|
||||
void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor);
|
||||
@@ -612,7 +612,7 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
int VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, Guid* pExtensionGuid, uint DataSize, void* pData);
|
||||
|
||||
[VtblIndex(20)]
|
||||
void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect);
|
||||
void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect);
|
||||
|
||||
[VtblIndex(21)]
|
||||
void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* pYCbCr, VideoColor* pColor);
|
||||
@@ -642,10 +642,10 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate);
|
||||
|
||||
[VtblIndex(30)]
|
||||
void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect);
|
||||
void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect);
|
||||
|
||||
[VtblIndex(31)]
|
||||
void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect);
|
||||
void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect);
|
||||
|
||||
[VtblIndex(32)]
|
||||
void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha);
|
||||
@@ -681,10 +681,10 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface,
|
||||
void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate* pOutputRate, Bool32* pRepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate);
|
||||
|
||||
[VtblIndex(43)]
|
||||
void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect);
|
||||
void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect);
|
||||
|
||||
[VtblIndex(44)]
|
||||
void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect);
|
||||
void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect);
|
||||
|
||||
[VtblIndex(45)]
|
||||
void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, float* pAlpha);
|
||||
|
||||
@@ -157,9 +157,9 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, RawRect*, void>)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -213,9 +213,9 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect)
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, RawRect*, void>)(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -293,17 +293,17 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -397,17 +397,17 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext1*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
|
||||
@@ -157,9 +157,9 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, RawRect*, void>)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -213,9 +213,9 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect)
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, RawRect*, void>)(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -293,17 +293,17 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -397,17 +397,17 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext2*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
|
||||
@@ -157,9 +157,9 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(13)]
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, RawRect*, void>)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32, Rect*, void>)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetOutputBackgroundColor" />
|
||||
@@ -213,9 +213,9 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputTargetRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(20)]
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, RawRect* pRect)
|
||||
public void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, RawRect*, void>)(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, Bool32*, Rect*, void>)(lpVtbl[20]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetOutputBackgroundColor" />
|
||||
@@ -293,17 +293,17 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(30)]
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[30]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(31)]
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect)
|
||||
public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, RawRect*, void>)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32, Rect*, void>)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorSetStreamAlpha" />
|
||||
@@ -397,17 +397,17 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamSourceRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(43)]
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamDestRect" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(44)]
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, RawRect* pRect)
|
||||
public void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* pEnabled, Rect* pRect)
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, RawRect*, void>)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
((delegate* unmanaged[Stdcall]<ID3D11VideoContext3*, ID3D11VideoProcessor*, uint, Bool32*, Rect*, void>)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, pEnabled, pRect);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="ID3D11VideoContext.VideoProcessorGetStreamAlpha" />
|
||||
|
||||
@@ -6,50 +6,66 @@ using static Win32.Graphics.Direct3D11.Apis;
|
||||
|
||||
namespace Win32.Graphics.Direct3D11;
|
||||
|
||||
public unsafe partial struct ID3D11DeviceContext
|
||||
public static unsafe class ID3D11DeviceContextExtensions
|
||||
{
|
||||
public void RSSetViewport(float x, float y, float width, float height, float minDepth = 0.0f, float maxDepth = 1.0f)
|
||||
public static void RSSetViewport<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
float x, float y, float width, float height, float minDepth = 0.0f, float maxDepth = 1.0f)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
var viewport = new Viewport(x, y, width, height, minDepth, maxDepth);
|
||||
RSSetViewports(1, &viewport);
|
||||
self.RSSetViewports(1, &viewport);
|
||||
}
|
||||
|
||||
public void RSSetViewport(Viewport viewport)
|
||||
public static void RSSetViewport<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
Viewport viewport)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
RSSetViewports(1, &viewport);
|
||||
self.RSSetViewports(1, &viewport);
|
||||
}
|
||||
|
||||
public void RSSetScissorRect(int x, int y, int width, int height)
|
||||
public static void RSSetScissorRect<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
int x, int y, int width, int height)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
RawRect rawRect = new(x, y, x + width, y + height);
|
||||
RSSetScissorRects(1, &rawRect);
|
||||
Rect rawRect = Rect.Create(x, y, width, height);
|
||||
self.RSSetScissorRects(1, &rawRect);
|
||||
}
|
||||
|
||||
public void RSSetScissorRect(RawRect rect)
|
||||
public static void RSSetScissorRect<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
Rect rect)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
RSSetScissorRects(1, &rect);
|
||||
self.RSSetScissorRects(1, &rect);
|
||||
}
|
||||
|
||||
public void OMSetBlendState(ID3D11BlendState* blendState, float* blendFactor)
|
||||
public static void OMSetBlendState<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
ID3D11BlendState* blendState)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
OMSetBlendState(blendState, blendFactor, D3D11_DEFAULT_SAMPLE_MASK);
|
||||
self.OMSetBlendState(blendState, null, D3D11_DEFAULT_SAMPLE_MASK);
|
||||
}
|
||||
|
||||
public void OMSetBlendState(ID3D11BlendState* blendState)
|
||||
public static void OMSetBlendState<TD3D11DeviceContext>(
|
||||
ref this TD3D11DeviceContext self,
|
||||
ID3D11BlendState* blendState, float* blendFactor)
|
||||
where TD3D11DeviceContext : unmanaged, ID3D11DeviceContext.Interface
|
||||
{
|
||||
OMSetBlendState(blendState, null, D3D11_DEFAULT_SAMPLE_MASK);
|
||||
self.OMSetBlendState(blendState, blendFactor, D3D11_DEFAULT_SAMPLE_MASK);
|
||||
}
|
||||
}
|
||||
|
||||
public unsafe partial struct ID3D11DeviceContext
|
||||
{
|
||||
public void IASetVertexBuffer(int slot, ID3D11Buffer* buffer, uint stride, uint offset = 0)
|
||||
{
|
||||
IASetVertexBuffers((uint)slot, 1, buffer == null ? null : &buffer, &stride, &offset);
|
||||
}
|
||||
|
||||
public void VSSetShader(ID3D11VertexShader* shader)
|
||||
{
|
||||
VSSetShader(shader, null, 0);
|
||||
}
|
||||
|
||||
public void VSSetShaderResource(uint slot, ID3D11ShaderResourceView* view)
|
||||
{
|
||||
VSSetShaderResources(slot, 1, view != null ? &view : null);
|
||||
@@ -65,11 +81,6 @@ public unsafe partial struct ID3D11DeviceContext
|
||||
VSSetConstantBuffers(slot, 1, constantBuffer != null ? &constantBuffer : null);
|
||||
}
|
||||
|
||||
public void PSSetShader(ID3D11PixelShader* shader)
|
||||
{
|
||||
PSSetShader(shader, null, 0);
|
||||
}
|
||||
|
||||
public void PSSetShaderResource(uint slot, ID3D11ShaderResourceView* view)
|
||||
{
|
||||
PSSetShaderResources(slot, 1, view != null ? &view : null);
|
||||
@@ -85,11 +96,6 @@ public unsafe partial struct ID3D11DeviceContext
|
||||
PSSetConstantBuffers(slot, 1, constantBuffer != null ? &constantBuffer : null);
|
||||
}
|
||||
|
||||
public void CSSetShader(ID3D11ComputeShader* shader)
|
||||
{
|
||||
CSSetShader(shader, null, 0);
|
||||
}
|
||||
|
||||
public void CSSetShaderResource(uint slot, ID3D11ShaderResourceView* view)
|
||||
{
|
||||
CSSetShaderResources(slot, 1, view != null ? &view : null);
|
||||
|
||||
Reference in New Issue
Block a user