CompositionGraphicsDevice.CreateMipmapSurface Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of CompositionMipMapSurface.
public:
virtual CompositionMipmapSurface ^ CreateMipmapSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateMipmapSurface;
CompositionMipmapSurface CreateMipmapSurface(SizeInt32 const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionMipmapSurface CreateMipmapSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createMipmapSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateMipmapSurface (sizePixels As SizeInt32, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionMipmapSurface
Parameters
- sizePixels
- SizeInt32
The size in pixels of the surface.
- pixelFormat
- DirectXPixelFormat
The pixel format of the surface.
- alphaMode
- DirectXAlphaMode
How the alpha channel should be handled.
Returns
The created CompositionMipMapSurface.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for