2.2.2.19 MilRTInitialization

A MilRTInitialization enumeration specifies render target initialization flags. These flags can be combined to describe more complex properties.

 typedef  enum
 {
   Default = 0x00000000,
   PresentImmediately = 0x00000004,
   PresentRetainContents = 0x00000008,
   FullScreen = 0x00000010,
   PresentFlip = 0x00000400,
   EnableOcclusion = 0x00010000
 } MilRTInitialization;

Default:  Implies that synchronization to reduce tearing is enabled and that no retention of contents exists between scenes.

PresentImmediately:  Indicates that presentation MUST not wait for any specific time to promote the results to the display. This can result in display tearing. This flag is a performance optimization hint to the composition engine and MAY be ignored by the client.

PresentRetainContents:  Makes the render target retain the contents from one frame to the next. Retaining the contents has performance implications. For scene changes with little to update, retaining contents can help, but if most of the scene will be repainted anyway, retention can hurt some scenarios. This flag is a performance optimization hint to the composition engine and MAY be ignored by the client.

FullScreen:  Creates a full-screen render target. This flag is a performance optimization hint to the composition engine and MAY be ignored by the client.

PresentFlip:  Enables tear-free composition by flipping frame buffers on presentation. This flag is a performance optimization hint to the composition engine and MAY be ignored by the client.

EnableOcclusion:  Enables occlusion culling optimizations. This flag is a performance optimization hint to the composition engine and MAY be ignored by the client.