# CCRenderCommand Protocol Reference

Conforms to | NSObject
Declared in | CCRenderer_private.h

## Overview

Describes the behaviour for an command object that can be submitted to the queue of a CCRenderer in order to perform some drawing operations.

When submitted to a renderer, render commands can be queued and executed at a later time. Each implementation of CCRenderCommand encapsulates the content to be rendered.

## Tasks

- `– invokeOnRenderer:` required method

## Instance Methods

### invokeOnRenderer:

Invokes this command on the specified renderer.

`- (void)invokeOnRenderer:(CCRenderer *)renderer`

#### Discussion

When submitted to a renderer, render commands may be queued and executed at a later time. Implementations should expect that this method will not be executed at the time that this command is submitted to the renderer.

#### Declared In

`CCRenderer_private.h`