Exemplo n.º 1
0
MF_API void MFAnimation_Destroy(MFAnimation *pAnimation)
{
	// release the template
	MFResource_Release(pAnimation->pTemplate);

	// free the instance
	MFHeap_Free(pAnimation);
}
Exemplo n.º 2
0
MF_API int MFMaterial_Release(MFMaterial *pMaterial)
{
	return MFResource_Release(pMaterial);
}
Exemplo n.º 3
0
MF_API int MFVertex_ReleaseVertexBuffer(MFVertexBuffer *pVertexBuffer)
{
	return MFResource_Release(pVertexBuffer);
}
Exemplo n.º 4
0
MF_API int MFVertex_ReleaseIndexBuffer(MFIndexBuffer *pIndexBuffer)
{
	return MFResource_Release(pIndexBuffer);
}
Exemplo n.º 5
0
MF_API int MFVertex_ReleaseVertexDeclaration(MFVertexDeclaration *pDeclaration)
{
	return MFResource_Release(pDeclaration);
}