Chapter 4. Buffers

RenBuffer

REN_BUFFER_COLOR
REN_BUFFER_DEPTH

A bit field type. Represents a set of buffers.

void ren_clear_color( RenReindeer* r,
  RenColor* color);
 

Set color to use when clearing color buffer from the value of color.

void ren_clear_depth( RenReindeer* r,
  ren_dfloat depth);
 

Set depth value to use when clearing depth buffer.

void ren_clear( RenReindeer* r,
  RenBuffer buffers);
 

Clear the specified buffers with the values specified with the functions ren_clear_color and ren_clear_depth.

void ren_viewport( RenReindeer* r,
  ren_uint32 x,
  ren_uint32 y,
  ren_uint32 width,
  ren_uint32 height);
 

Scale rendering to a subset of the buffer.