KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
pvr_init_params_t Struct Reference

PVR initialization structure. More...

#include <dc/pvr.h>

Data Fields

int opb_sizes [5]
 Bin sizes.
int vertex_buf_size
 Vertex buffer size (should be a nice round number)
int dma_enabled
 Enable vertex DMA?
int fsaa_enabled
 Enable horizontal scaling?

Detailed Description

PVR initialization structure.

This structure defines how the PVR initializes various parts of the system, including the primitive bin sizes, the vertex buffer size, and whether vertex DMA will be enabled.

You essentially fill one of these in, and pass it to pvr_init().


Field Documentation

int pvr_init_params_t::dma_enabled

Enable vertex DMA?

Set to non-zero if we want to enable vertex DMA mode. Note that if this is set, then all enabled lists need to have a vertex buffer assigned, even if you never use that list for anything.

int pvr_init_params_t::fsaa_enabled

Enable horizontal scaling?

Set to non-zero if horizontal scaling is to be enabled. By enabling this setting and stretching your image to double the native screen width, you can get horizontal full-screen anti-aliasing.

int pvr_init_params_t::opb_sizes[5]

Bin sizes.

The bins go in the following order: opaque polygons, opaque modifiers, translucent polygons, translucent modifiers, punch-thrus

int pvr_init_params_t::vertex_buf_size

Vertex buffer size (should be a nice round number)


The documentation for this struct was generated from the following file: