MDLTexture.CreateTextureCube 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.
Overloads
| Name | Description |
|---|---|
| CreateTextureCube(String[]) |
Creates a texture cube from the named images in the default application bundle. |
| CreateTextureCube(String[], NSBundle) |
Creates a texture cube from the named images in the specified application bundle. |
CreateTextureCube(String[])
Creates a texture cube from the named images in the default application bundle.
[Foundation.Export("textureCubeWithImagesNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLTexture? CreateTextureCube(string[] imageNames);
[<Foundation.Export("textureCubeWithImagesNamed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTextureCube : string[] -> ModelIO.MDLTexture
Parameters
- imageNames
- String[]
Returns
- Attributes
Applies to
CreateTextureCube(String[], NSBundle)
Creates a texture cube from the named images in the specified application bundle.
[Foundation.Export("textureCubeWithImagesNamed:bundle:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLTexture? CreateTextureCube(string[] imageNames, Foundation.NSBundle? bundleOrNil);
[<Foundation.Export("textureCubeWithImagesNamed:bundle:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTextureCube : string[] * Foundation.NSBundle -> ModelIO.MDLTexture
Parameters
- imageNames
- String[]
Returns
- Attributes