Managed DirectX 9 Kick Start: Graphics and Game Programming

IN THIS CHAPTER

  • Starting with the Resource Class

  • Using the Vertex and Index Buffers

  • Locking Our Buffers

  • Controlling How Buffers Are Locked

  • Using Texture Resources

  • Locking Textures and Getting Descriptions

  • In Brief

Resources are the backbone of rendering complex objects in Direct3D. During the course of this chapter, we will discuss the more advanced features of these resources, including

  • Static and dynamic resources

  • Updating the buffers included in meshes

  • Uses of the various locking flags

  • Using unsafe mode for maximum performance

Категории