public HardwareIndexBufferPtr(HardwareIndexBufferPtr r) : this(OgrePINVOKE.new_HardwareIndexBufferPtr__SWIG_2(HardwareIndexBufferPtr.getCPtr(r)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public ManualObjectSectionShadowRenderable(ManualObject parent, HardwareIndexBufferPtr indexBuffer, VertexData vertexData, bool createSeparateLightCap) : this(OgrePINVOKE.new_ManualObject_ManualObjectSectionShadowRenderable__SWIG_1(ManualObject.getCPtr(parent), HardwareIndexBufferPtr.getCPtr(indexBuffer), VertexData.getCPtr(vertexData), createSeparateLightCap), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void profile(HardwareIndexBufferPtr indexBuffer) { OgrePINVOKE.VertexCacheProfiler_profile(swigCPtr, HardwareIndexBufferPtr.getCPtr(indexBuffer)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public override void rebindIndexBuffer(HardwareIndexBufferPtr indexBuffer) { OgrePINVOKE.ManualObject_ManualObjectSectionShadowRenderable_rebindIndexBuffer(swigCPtr, HardwareIndexBufferPtr.getCPtr(indexBuffer)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void rebindIndexBuffer(HardwareIndexBufferPtr indexBuffer) { OgrePINVOKE.ShadowRenderable_rebindIndexBuffer(swigCPtr, HardwareIndexBufferPtr.getCPtr(indexBuffer)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public virtual HardwareIndexBufferPtr createIndexBuffer(HardwareIndexBuffer.IndexType itype, uint numIndexes, HardwareBuffer.Usage usage) { HardwareIndexBufferPtr ret = new HardwareIndexBufferPtr(OgrePINVOKE.HardwareBufferManagerBase_createIndexBuffer__SWIG_1(swigCPtr, (int)itype, numIndexes, (int)usage), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t getShadowVolumeRenderableIterator(ShadowTechnique shadowTechnique, Light light, HardwareIndexBufferPtr indexBuffer, SWIGTYPE_p_size_t indexBufferUsedSize, bool extrudeVertices, float extrusionDist) { SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t ret = new SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t(OgrePINVOKE.ManualObject_getShadowVolumeRenderableIterator__SWIG_1(swigCPtr, (int)shadowTechnique, Light.getCPtr(light), HardwareIndexBufferPtr.getCPtr(indexBuffer), SWIGTYPE_p_size_t.getCPtr(indexBufferUsedSize), extrudeVertices, extrusionDist), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HardwareIndexBufferPtr obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public void build(HardwareVertexBufferPtr destVertexBuffer, uint vertexStart, HardwareIndexBufferPtr destIndexBuffer, uint indexStart) { OgrePINVOKE.PatchSurface_build(swigCPtr, HardwareVertexBufferPtr.getCPtr(destVertexBuffer), vertexStart, HardwareIndexBufferPtr.getCPtr(destIndexBuffer), indexStart); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }