public GPUVendorRule(GPUVendor v, Technique.IncludeOrExclude ie) : this(OgrePINVOKE.new_Technique_GPUVendorRule__SWIG_1((int)v, (int)ie), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void removeGPUVendorRule(GPUVendor vendor) { OgrePINVOKE.Technique_removeGPUVendorRule(swigCPtr, (int)vendor); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void addGPUVendorRule(GPUVendor vendor, Technique.IncludeOrExclude includeOrExclude) { OgrePINVOKE.Technique_addGPUVendorRule__SWIG_0(swigCPtr, (int)vendor, (int)includeOrExclude); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void setVendor(GPUVendor v) { OgrePINVOKE.RenderSystemCapabilities_setVendor(swigCPtr, (int)v); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public GPUVendor getVendor() { GPUVendor ret = (GPUVendor)OgrePINVOKE.RenderSystemCapabilities_getVendor(swigCPtr); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static string vendorToString(GPUVendor v) { string ret = OgrePINVOKE.RenderSystemCapabilities_vendorToString((int)v); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static GPUVendor vendorFromString(string vendorString) { GPUVendor ret = (GPUVendor)OgrePINVOKE.RenderSystemCapabilities_vendorFromString(vendorString); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Screen[] Screens; // Bounds for games, Working area for fomrs public GraphicsCard() { Name = "Unknown"; Vendor = GPUVendor.Unknown; Vram = 0; Clock = 0; MemoryClock = 0; BusWidth = 0; Shaders = 0; ROPs = 0; TMUs = 0; MemoryType = "Unknown"; DirectXSupport = "Unknown"; Screens = Screen.AllScreens; }
private static GPUInfo CheckVendor(GPUVendor vendor, string search, string[] goodArray, string[] middleArray) { var gpuQuality = GPUQuality.Low; if (InArray(search, goodArray)) { gpuQuality = GPUQuality.Good; } else if (InArray(search, middleArray)) { gpuQuality = GPUQuality.Middle; } return(new GPUInfo() { Quality = gpuQuality, Vendor = vendor }); }
/// <summary> /// /// </summary> /// <param name="v"></param> /// <returns></returns> internal static string VendorToString(GPUVendor v) { return(ScriptEnumAttribute.GetScriptAttribute((int)v, typeof(GPUVendor))); }
public GPUVendorRule( GPUVendor v, bool ie ) : this() { Vendor = v; Include = ie; }