public unsafe HRESULT SetSamplerState(int sampler, D3DSAMPLERSTATETYPE type, float value) { return(SetSamplerState(sampler, type, *(int *)(&value))); }
/// <unmanaged>HRESULT IDirect3DDevice9::SetSamplerState([In] unsigned int Sampler,[In] D3DSAMPLERSTATETYPE Type,[In] unsigned int Value)</unmanaged> public unsafe HRESULT SetSamplerState(int sampler, D3DSAMPLERSTATETYPE type, int value) { //calli(System.Int32(System.Void*,System.Int32,System.Int32,System.Int32), this._nativePointer, sampler, type, value, *(*(IntPtr*)this._nativePointer + (IntPtr)69 * (IntPtr)sizeof(void*))).CheckError(); return((HRESULT)NativeHelper.CalliInt32(69, _nativePointer, (int)sampler, (int)type, (int)value)); }