Freigeben über


DkmModule.SetPointerToHLSLRegister Method

Definition

Sets a C++ AMP address for a register.

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

public:
 void SetPointerToHLSLRegister(System::UInt64 Address, int RegisterType, System::UInt32 RegisterIndex, System::UInt32 FirstElement, System::UInt32 VectorElements, System::UInt32 ByteOffset, System::UInt32 VectorElementSize, System::UInt32 StartLiveRange, System::UInt32 EndLiveRange);
public:
 void SetPointerToHLSLRegister(unsigned long long Address, int RegisterType, unsigned int RegisterIndex, unsigned int FirstElement, unsigned int VectorElements, unsigned int ByteOffset, unsigned int VectorElementSize, unsigned int StartLiveRange, unsigned int EndLiveRange);
void SetPointerToHLSLRegister(unsigned long Address, int RegisterType, unsigned int RegisterIndex, unsigned int FirstElement, unsigned int VectorElements, unsigned int ByteOffset, unsigned int VectorElementSize, unsigned int StartLiveRange, unsigned int EndLiveRange);
public void SetPointerToHLSLRegister (ulong Address, int RegisterType, uint RegisterIndex, uint FirstElement, uint VectorElements, uint ByteOffset, uint VectorElementSize, uint StartLiveRange, uint EndLiveRange);
member this.SetPointerToHLSLRegister : uint64 * int * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 -> unit
Public Sub SetPointerToHLSLRegister (Address As ULong, RegisterType As Integer, RegisterIndex As UInteger, FirstElement As UInteger, VectorElements As UInteger, ByteOffset As UInteger, VectorElementSize As UInteger, StartLiveRange As UInteger, EndLiveRange As UInteger)

Parameters

Address
UInt64

[In] Address for register.

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.

StartLiveRange
UInt32

[In] Start of live range for the symbol.

EndLiveRange
UInt32

[In] End of live range for the symbol.

Applies to