Esempio n. 1
0
        public CIndexBuffer GetIndexBuffer()
        {
            var ptr = SDK_IGeometryMesh_GetIndexBuffer(CoreObject);

            if (ptr.GetPointer() == IntPtr.Zero)
            {
                return(null);
            }
            var ib = new CIndexBuffer(ptr);

            ib.Core_AddRef();
            return(ib);
        }
Esempio n. 2
0
 public void BindIndexBuffer(CIndexBuffer ib)
 {
     SDK_IGeometryMesh_BindIndexBuffer(CoreObject, ib.CoreObject);
 }