1. Introduction

This document describes programming using the 3DS system's graphics features. It also provides sample implementations of various lighting models and features that require special configuration, such as block modes and state caches. This document assumes that you have first read the 3DS Programming Manual: System and 3DS Programming Manual: Basic Graphics.

1.1. Bit Layout Notation

The 3DS system is little-endian, so the byte order in memory and the bit layout order do not correspond. The figure below compares the bit layout of 32-bit data with its byte order in memory.

Figure 1-1. Bit Layout and Byte Order

Bit layout: 31 24 23 16 15 8 7 0 D C B A; Byte order: +0 +1 +2 +3 0x0000_0000


CONFIDENTIAL