BrBegin()
10
is provided as a means of explicitly initialising the BRender library.
However, there are a few things that should precede BrBegin()
10, and in the following order:
BrDiagHandlerSet()
116
(See Diagnostic Support, page 65)
BrAllocatorSet()
100
(See Memory Management, page 53)
BrFilesystemSet()
127
(See Filing System Support, page 57)
BrBegin()
10
will perform the equivalent to a usable default (appropriate to the platform). Which steps you perform depends upon your application's requirements.
Initialises filing system (See Filing System Support, page 57)
Initialises registry (See Pre-Rendering Pre-Processing, page 29)
Initialises resource classes (See Resource Management, page 48)
Creates various defaults (models, materials, etc.)
Description:
Initialise BRender. This function must be called before most BRender functions are used.BrBegin()
void BrBegin(void)
main()
has been entered). The BRender library has not yet been initialised, or has been terminated.BrBegin()
10 again without a preceding
BrEnd()
11
See Also:
BrEnd()
11
BrBegin()
10
(though handlers do not necessarily need to be reset).
Description:
End BRender, freeing its internal resources and memory.BrEnd()
void BrEnd(void)
BrModelAllocate()
239.
Remarks: Your application should have gracefully released all dependence upon BRender data and functions before calling
BrEnd()
11
. See Also:
BrBegin()
10