public static unsafe void Listener(ALListenerfv param, [NotNull] float[] values) { fixed(float *ptr = &values[0]) { Listener(param, ptr); } }
public static unsafe void GetListener(ALListenerfv param, [NotNull] float[] values) { fixed(float *p = values) { GetListener(param, p); } }
private void Get(ALListenerfv param, out Vector3 at, out Vector3 up) { AssertNotDisposed(); OpenTK.Vector3 _up, _at; AL.GetListener(param, out _at, out _up); at = new Vector3(_at.X, _at.Y, _at.Z); up = new Vector3(_up.X, _up.Y, _up.Z); }
public static unsafe void Listener(ALListenerfv param, ref Vector3 at, ref Vector3 up) { fixed(float *values = &new float[6] { at.X, at.Y, at.Z, up.X, up.Y, up.Z }[0]) AL.ListenerPrivate(param, values); }
private void Set(ALListenerfv param, Vector3 at, Vector3 up) { AssertNotDisposed(); float[] value = new float[6]; value[0] = at.X; value[1] = at.Y; value[2] = at.Z; value[3] = up.X; value[4] = up.Y; value[5] = up.Z; AL.Listener(param, ref value); }
public static unsafe void GetListener(ALListenerfv param, out Vector3 at, out Vector3 up) { float[] numArray = new float[6]; fixed(float *values = &numArray[0]) { AL.GetListener(param, values); at.X = numArray[0]; at.Y = numArray[1]; at.Z = numArray[2]; up.X = numArray[3]; up.Y = numArray[4]; up.Z = numArray[5]; } }
private static extern unsafe void GetListener(ALListenerfv param, [NotNull] float *values);
public static void GetListener(ALListenerfv param, float[] values) { ALDelegates.alGetListenerfv((int)param, values); }
public virtual void SetProperty(ALListenerfv property, Vector3 at, Vector3 up) { ctx.Call(() => AL.Listener(property, ref at, ref up)); }
public virtual void GetProperty(ALListenerfv property, out Vector3 at, out Vector3 up) { AL.GetListener(property, out at, out up); ctx.CheckErrors(); }
public static unsafe void Listener(ALListenerfv param, ref float[] values) { fixed(float *values1 = &values[0]) AL.ListenerPrivate(param, values1); }
private static void ListenerPrivate(ALListenerfv param, float *values);
public static void GetListener(ALListenerfv param, float *values);
public static void Listener(ALListenerfv param, float[] values) { alListenerfv((int)param, values); }
public static void GetListener(ALListenerfv param, float[] values) { alGetListenerfv((int)param, values); }