// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
namespace Win32.Graphics.Direct3D11;
///
/// D3D11_BUFFER_SRV
public partial struct BufferSrv
{
///
public _Anonymous1_e__Union Anonymous1;
///
public _Anonymous2_e__Union Anonymous2;
[UnscopedRef]
public ref uint FirstElement
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return ref Anonymous1.FirstElement;
}
}
[UnscopedRef]
public ref uint ElementOffset
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return ref Anonymous1.ElementOffset;
}
}
[UnscopedRef]
public ref uint NumElements
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return ref Anonymous2.NumElements;
}
}
[UnscopedRef]
public ref uint ElementWidth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
return ref Anonymous2.ElementWidth;
}
}
[StructLayout(LayoutKind.Explicit)]
public partial struct _Anonymous1_e__Union
{
///
[FieldOffset(0)]
public uint FirstElement;
///
[FieldOffset(0)]
public uint ElementOffset;
}
[StructLayout(LayoutKind.Explicit)]
public partial struct _Anonymous2_e__Union
{
///
[FieldOffset(0)]
public uint NumElements;
///
[FieldOffset(0)]
public uint ElementWidth;
}
}