SharedVertexBuffer::Release
Defined in:
Releases a reference to a shared vertex buffer.
C4Renderable.hPrototype
int32 Release(void);
Description
The Release function decrements the reference count for a shared vertex buffer and returns the new reference count. If the new reference count becomes zero, then the Release function also deallocates the vertex buffer's resources by calling the VertexBuffer::EstablishVertexBuffer function with a size parameter of zero before returning.The
Release function should be called to balance each previous call to the SharedVertexBuffer::Retain function for the same shared vertex buffer.
See Also
