public static RenderSystemCapabilitiesSerializer FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } RenderSystemCapabilitiesSerializer obj = baseObj as RenderSystemCapabilitiesSerializer; if (object.Equals(obj, null)) { obj = new RenderSystemCapabilitiesSerializer(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CRenderSystemCapabilitiesSerializer"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { RenderSystemCapabilitiesSerializer emptyInstance = new RenderSystemCapabilitiesSerializer(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }