Dela via


HolographicQuadLayer Constructors

Definition

Overloads

HolographicQuadLayer(Size)

Creates a new quad layer with a specified texture size, using a default pixel format of DXGI_FORMAT_B8G8R8A8_UNORM.

HolographicQuadLayer(Size, DirectXPixelFormat)

Creates a new quad layer with a specified texture size and pixel format.

HolographicQuadLayer(Size)

Creates a new quad layer with a specified texture size, using a default pixel format of DXGI_FORMAT_B8G8R8A8_UNORM.

public:
 HolographicQuadLayer(Size size);
 HolographicQuadLayer(Size const& size);
public HolographicQuadLayer(Size size);
function HolographicQuadLayer(size)
Public Sub New (size As Size)

Parameters

size
Size

The size in pixels of the texture that will back this quad layer.

Remarks

Note that the spatial location and extents of this new quad layer in world coordinates must also be specified by requesting a HolographicQuadLayerUpdateParameters instance.

Applies to

HolographicQuadLayer(Size, DirectXPixelFormat)

Creates a new quad layer with a specified texture size and pixel format.

public:
 HolographicQuadLayer(Size size, DirectXPixelFormat pixelFormat);
 HolographicQuadLayer(Size const& size, DirectXPixelFormat const& pixelFormat);
public HolographicQuadLayer(Size size, DirectXPixelFormat pixelFormat);
function HolographicQuadLayer(size, pixelFormat)
Public Sub New (size As Size, pixelFormat As DirectXPixelFormat)

Parameters

size
Size

The size in pixels of the texture that will back this quad layer.

pixelFormat
DirectXPixelFormat

The pixel format for the texture that will back this quad layer.

Remarks

Note that the spatial location and extents of this new quad layer in world coordinates must also be specified by requesting a HolographicQuadLayerUpdateParameters instance.

The pixel format specified must be an RGB format, such as DXGI_FORMAT_B8G8R8A8_UNORM.

Applies to