[]
ID3D11ClassLinkage
[Guid("ddf57cba-9543-46e4-a12b-f207a0fe7fed")]
public class ClassLinkage : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the ClassLinkage class.
public ClassLinkage(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Create a new instance of ClassLinkage.
public static ClassLinkage Create(Device device)
device
DeviceHRESULT ID3D11ClassLinkage::CreateClassInstance([In] const char* pClassTypeName,[In] unsigned int ConstantBufferOffset,[In] unsigned int ConstantVectorOffset,[In] unsigned int TextureOffset,[In] unsigned int SamplerOffset,[Out, Fast] ID3D11ClassInstance** ppInstance)
public ClassInstance CreateClassInstance(string classTypeNameRef, int constantBufferOffset, int constantVectorOffset, int textureOffset, int samplerOffset)
classTypeNameRef
stringconstantBufferOffset
intconstantVectorOffset
inttextureOffset
intsamplerOffset
intHRESULT ID3D11ClassLinkage::GetClassInstance([In] const char* pClassInstanceName,[In] unsigned int InstanceIndex,[Out] ID3D11ClassInstance** ppInstance)
public ClassInstance GetClassInstance(string classInstanceNameRef, int instanceIndex)
classInstanceNameRef
stringinstanceIndex
intPerforms an explicit conversion from System.IntPtr to ClassLinkage.
public static explicit operator ClassLinkage(IntPtr nativePointer)
nativePointer
System.IntPtr