Description | Hierarchy | Fields | Methods | Properties |
type TAdRenderingObject = class(TObject)
Objects derived from this class provide a set of render events. Other classes may link themselves to those events and can activate/deactivate certain settings before and after the object was rendered. This mechanism is used for simply attaching shaders to an object.
property OnBeginRender: TAdBeginRenderEvent read FBeginRender write FBeginRender; |
|
property OnEndRender: TAdNotifyEvent read FEndRender write FEndRender; |
property OnBeginRender: TAdBeginRenderEvent read FBeginRender write FBeginRender; |
|
Triggered before the object is rendered. The "ModelViewProjejectionMatrix" is passed as a single parameter. |
property OnEndRender: TAdNotifyEvent read FEndRender write FEndRender; |
|
Triggered when rendering has been finished. |