public TextureUnitStates(TextureUnitStates other) : this(OgrePINVOKE.new_TextureUnitStates__SWIG_1(TextureUnitStates.getCPtr(other)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public TextureUnitStatesEnumerator(TextureUnitStates collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, TextureUnitStates values) { OgrePINVOKE.TextureUnitStates_SetRange(swigCPtr, index, TextureUnitStates.getCPtr(values)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public static TextureUnitStates Repeat(TextureUnitState value, int count) { global::System.IntPtr cPtr = OgrePINVOKE.TextureUnitStates_Repeat(TextureUnitState.getCPtr(value), count); TextureUnitStates ret = (cPtr == global::System.IntPtr.Zero) ? null : new TextureUnitStates(cPtr, true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public TextureUnitStates GetRange(int index, int count) { global::System.IntPtr cPtr = OgrePINVOKE.TextureUnitStates_GetRange(swigCPtr, index, count); TextureUnitStates ret = (cPtr == global::System.IntPtr.Zero) ? null : new TextureUnitStates(cPtr, true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextureUnitStates obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }