Microsoft DirectX 9.0 |
The VMR9SurfaceAllocationFlags enumeration type is used with the IVMRSurfaceAllocator9::InitializeDevice method to specify surface creation parameters (VMR-9 only).
Syntax
typedef enum VMR9SurfaceAllocationFlags{
VMR9AllocFlag_3DRenderTarget = 0x0001,
VMR9AllocFlag_DXVATarget = 0x0002,
VMR9AllocFlag_TextureSurface = 0x0004,
VMR9AllocFlag_OffscreenSurface = 0x0008,
VMR9AllocFlag_UsageReserved = 0x00F0,
VMR9AllocFlag_UsageMask = 0x00FF
};
Members
VMR9AllocFlag_3DRenderTarget
Indicates that the surface is a Direct3D render target.
VMR9AllocFlag_DXVATarget
Indicates that the render target supports DXVA.
VMR9AllocFlag_TextureSurface
Indicates that the target is a Direct3D texture surface.
VMR9AllocFlag_OffscreenSurface
Indicates an offscreen surface.
VMR9AllocFlag_UsageReserved
Reserved for future use.
VMR9AllocFlag_UsageMask
OR of all flags; not used by applications
Remarks
VMR9AllocFlag_TextureSurface can be combined with DXVATarget and 3DRenderTarget flags.
See Also