private D3DMaterial getitem(int index)
    {
        D3DMaterial ret = new D3DMaterial(IronSightEnginePINVOKE.D3DMaterialVector_getitem(swigCPtr, index), false);

        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }