Enumerations |
|
enum | RpToonPaintType { RPTOON_PAINTTYPE_FLAT = 0, RPTOON_PAINTTYPE_TOONSHADE, RPTOON_PAINTTYPE_COUNT, RPTOON_PAINTTYPE_FORCEENUMSIZEINT = RWFORCEENUMSIZEINT } |
Functions |
|
RpToonPaint * | RpToonPaintCreate (void) |
void | RpToonPaintDestroy (RpToonPaint *paint) |
void | RpToonPaintAddRef (RpToonPaint *paint) |
RpToonPaintType | RpToonPaintGetType (const RpToonPaint *paint) |
void | RpToonPaintSetType (RpToonPaint *paint, RpToonPaintType type) |
const RwChar * | RpToonPaintGetName (const RpToonPaint *paint) |
void | RpToonPaintSetName (RpToonPaint *paint, const RwChar *name) |
RwTexture * | RpToonPaintGetGradientTexture (const RpToonPaint *paint) |
void | RpToonPaintSetGradientTexture (RpToonPaint *paint, RwTexture *texture) |
RpToonPaint * | RpToonPaintStreamRead (RwStream *stream) |
const RpToonPaint * | RpToonPaintStreamWrite (const RpToonPaint *paint, RwStream *stream) |
|
RpToonPaintType defines the different ways a toon paint can be rendered. Once a paint has been created, it's type can be changed with RpToonPaintSetType and queried with RpToonPaintGetType. |
|
RpToonPaintAddRef is used to increment the reference count of an RpToonPaint.
|
|
RpToonPaintCreate is used to create a new RpToonPaint with default values and a reference count of 1.
|
|
RpToonPaintDestroy is used to destroy an RpToonPaint. It decrements the paint's reference count, and if it's 0, it is destroyed.
|
|
RpToonPaintGetGradientTexture is used to get a paint's gradient texture.
|
|
RpToonPaintGetName is used to get a paint's name. Paint names are used as keys in RpToonPaintDictionary objects.
|
|
RpToonPaintGetType is used to get a paint's type.
|
|
RpToonPaintSetGradientTexture is used to set a paint's gradient texture. The gradient texture is used when the paint's type is RPTOON_PAINTTYPE_TOONSHADE.
|
|
RpToonPaintSetName is used to set a paint's name. Paint names are used as keys in RpToonPaintDictionary objects.
|
|
RpToonPaintSetType is used to set a paint's type.
|
|
RpToonPaintStreamRead is used to read an paint from the specified binary stream.
|
|
RpToonPaintStreamWrite is used to write the specified paint to the given binary stream. The stream must have been opened prior to this function call.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |