bool OglSWVertexBuffer::DoCreate( const VertexFormat& format, boost::int32_t elementSize, boost::int32_t vertexCount, bool /*bManaged*/ )
{
	shared_ptr< Resource > resource = make_shared< OglSWVertexBufferResource >( elementSize * vertexCount );
	SetVertexType( format.GetType() );
	SetResource( resource );
	SetStride( elementSize );

	return bool( resource );
}