Struct D3D11ClassInstanceDesc
Describes an HLSL class instance.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11ClassInstanceDesc : IEquatable<D3D11ClassInstanceDesc>
Properties
|
Edit this page
View Source
BaseConstantBufferOffset
Gets the base constant buffer offset associated with an HLSL class; the default value is 0.
Declaration
public uint BaseConstantBufferOffset { get; }
Property Value
|
Edit this page
View Source
BaseSampler
Gets the base sampler associated with an HLSL class; the default value is 15.
Declaration
public uint BaseSampler { get; }
Property Value
|
Edit this page
View Source
BaseTexture
Gets the base texture associated with an HLSL class; the default value is 127.
Declaration
public uint BaseTexture { get; }
Property Value
|
Edit this page
View Source
ConstanceBuffer
Gets a value indicating the constant buffer associated with an HLSL class; the default value is 0.
Declaration
public uint ConstanceBuffer { get; }
Property Value
|
Edit this page
View Source
InstanceId
Gets the instance ID of an HLSL class; the default value is 0.
Declaration
public uint InstanceId { get; }
Property Value
|
Edit this page
View Source
InstanceIndex
Gets the instance index of an HLSL class; the default value is 0.
Declaration
public uint InstanceIndex { get; }
Property Value
|
Edit this page
View Source
IsCreated
Gets a value indicating whether the class was created; the default value is false.
Declaration
public bool IsCreated { get; }
Property Value
|
Edit this page
View Source
TypeId
Gets the type ID of an HLSL class; the default value is 0.
Declaration
public uint TypeId { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11ClassInstanceDesc)
Declaration
public readonly bool Equals(D3D11ClassInstanceDesc other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static D3D11ClassInstanceDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11ClassInstanceDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11ClassInstanceDesc> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in D3D11ClassInstanceDesc)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11ClassInstanceDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11ClassInstanceDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11ClassInstanceDesc> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11ClassInstanceDesc, D3D11ClassInstanceDesc)
Declaration
public static bool operator ==(D3D11ClassInstanceDesc left, D3D11ClassInstanceDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11ClassInstanceDesc, D3D11ClassInstanceDesc)
Declaration
public static bool operator !=(D3D11ClassInstanceDesc left, D3D11ClassInstanceDesc right)
Parameters
Returns
Implements