Udostępnij za pośrednictwem


DkmModule.GetPointerToHLSLRegister Method

Definition

Gets a C++ AMP address for a register.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 System::UInt64 GetPointerToHLSLRegister(int RegisterType, System::UInt32 RegisterIndex, System::UInt32 FirstElement, System::UInt32 VectorElements, System::UInt32 ByteOffset, System::UInt32 VectorElementSize, System::UInt32 Rva, System::UInt32 StartLiveRange, System::UInt32 EndLiveRange, [Runtime::InteropServices::Out] bool % IsNewDynamicTag);
public ulong GetPointerToHLSLRegister (int RegisterType, uint RegisterIndex, uint FirstElement, uint VectorElements, uint ByteOffset, uint VectorElementSize, uint Rva, uint StartLiveRange, uint EndLiveRange, out bool IsNewDynamicTag);
member this.GetPointerToHLSLRegister : int * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * bool -> uint64
Public Function GetPointerToHLSLRegister (RegisterType As Integer, RegisterIndex As UInteger, FirstElement As UInteger, VectorElements As UInteger, ByteOffset As UInteger, VectorElementSize As UInteger, Rva As UInteger, StartLiveRange As UInteger, EndLiveRange As UInteger, ByRef IsNewDynamicTag As Boolean) As ULong

Parameters

RegisterType
Int32

[In] Type of HLSL register.

RegisterIndex
UInt32

[In] Index of HLSL register.

FirstElement
UInt32

[In] Index of first vector element.

VectorElements
UInt32

[In] Number of vector elements.

ByteOffset
UInt32

[In] Offset from beginning of register.

VectorElementSize
UInt32

[In] Size of vector element.

Rva
UInt32

[In] RVA to use for mapping register information and tag address.

StartLiveRange
UInt32

[In] Start of live range for the symbol.

EndLiveRange
UInt32

[In] End of live range for the symbol.

IsNewDynamicTag
Boolean

[Out] Is the address newly generated using dynamic tag.

Returns

[Out] Address for register.

Applies to