static void SetLayoutDrawEnable(
bool enable
);
| Name | Description | |
|---|---|---|
| enable | Specifies TRUE if using Layout::Draw. |
Declares whether Layout::Draw is to be used (not recommended).
This function can be used only if the library is built with the NW_LYT_DMPGL_ENABLED macro defined.
Set to false by default.
Objects (shaders, vertex buffers, textures) created from resources using the DMPGL API are required in order to draw using Layout::Draw().
(This is not required for drawing with Drawer.)
If use of Layout::Draw is declared after this function, DMPGL objects will be created during initialization and execution of the resource accessor.
Call this function before both GraphicsResource::StartSetup() and Layout::Build().
CONFIDENTIAL