public virtual SWIGTYPE_p_IEffectScalarVariable GetScalarVariable(/*cstype*/ string semantic) { global::System.IntPtr cPtr = IronSightEnginePINVOKE.IRenderShader_GetScalarVariable(swigCPtr, new IronSightEnginePINVOKE.SWIGStringMarshal(semantic).swigCPtr); SWIGTYPE_p_IEffectScalarVariable ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_IEffectScalarVariable(cPtr, false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_IEffectScalarVariable obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }