Creating Direct3D Mobile Resources (Windows CE 5.0)
To create a resource, call the method on the IDirect3DMobileDevice interface that corresponds to the type of resource you want to create. The following list shows the methods used to create resources.
- IDirect3DMobileDevice::CreateVertexBuffer
- IDirect3DMobileDevice::CreateIndexBuffer
- IDirect3DMobileDevice::CreateTexture
- IDirect3DMobileDevice::CreateImageSurface
- IDirect3DMobileDevice::CreateDepthStencilSurface
Upon calling one of these methods listed above, the Microsoft® Direct3D Mobile® middleware creates an underlying object for the resource and then returns a pointer to an interface to that resource object. The resource object will only be created if the parameters passed to the method that describe the resource are compatible with the capabilities of the driver.
See Also
Using Direct3D Mobile Resources
Send Feedback on this topic to the authors