1. A computer-readable medium containing instructions executable by at least one processor, the computer-readable medium comprising: one or more instructions for receiving first data that specifies a graphical scene; one or more instructions for creating a first set of objects in a first structure based on the first data, where the first set of objects describe the graphical scene specified by the first data; one or more instructions for creating a composite command; one or more instructions for adding a command for at least one object, of the first set of objects, to the composite command; one or more instructions for creating a second set of objects in a second structure based on the first set of objects in the first structure and the composite command, where the second set of objects is used by a specialized processing unit to render the graphical scene; one or more instructions for receiving second data; one or more instructions for changing one or more objects of the first set of objects based on the second data; one or more instructions for changing one or more objects of the second set of objects based on the changes to the first set of objects; and one or more instructions for providing the changed second set of objects to the specialized processing unit for rendering the graphical scene.