supportedLayouts(options:)
Returns an array of texture layouts that the layer supports.
Declaration
func supportedLayouts(options: LayerRenderer.Capabilities.SupportedLayoutsOptions) -> [LayerRenderer.Layout]Parameters
- options:
Specific options you want the layouts to support. The function returns only layouts that support the specified options.
Return Value
An array of supported layouts. If the layer doesn’t support any layouts with the specified options, this function returns an empty array.
Discussion
Call this function to determine which texture layouts you can use for your content.