r3dither

r3dither

Class

plugins/postproc/dither/r3dither.h

Library

r3dither

Description:

Dithering rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Ditheringrender

Class Identifier

R3CLID_DITHERINGRENDER - 803

Attributes

RedBits, GreenBits, BlueBits, Channel,

Registration

int R3RegisterDitheringRenderClass(R3APP *app);

RedBits

Attribute

RedBits

Identifier

R3DITHA_RedBits

JavaScript type

Integer

C type

R3INT

Description

how many red bits retained

Syntax


jsobj.SetRedBits(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3DITHA_RedBits, value, R3TAG_END);

GreenBits

Attribute

GreenBits

Identifier

R3DITHA_GreenBits

JavaScript type

Integer

C type

R3INT

Description

how many green bits retained

Syntax


jsobj.SetGreenBits(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3DITHA_GreenBits, value, R3TAG_END);

BlueBits

Attribute

BlueBits

Identifier

R3DITHA_BlueBits

JavaScript type

Integer

C type

R3INT

Description

how many blue bits retained

Syntax


jsobj.SetBlueBits(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3DITHA_BlueBits, value, R3TAG_END);

Channel

Attribute

Channel

Identifier

R3DITHA_Channel

JavaScript type

String

C type

char*

Description

name of channel to be dithered

Syntax


jsobj.SetChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3DITHA_Channel, value, R3TAG_END);