 |
CubeMapLoader Methods |
The CubeMapLoader type exposes the following members.
Methods| | Name | Description |
|---|
  | CreateIndividualFaceImages |
Returns an array of GpuImages that are created from the given cube map image and shader the same memory but have different ImageView that points to a different cube map face.
The indexes of the returned images are defined in the CubeMapLoaderCubeMapFaceNames enum.
|
  | LoadCubeMap(String, VulkanDevice, IBitmapIO, String) |
Load cube map from a single path. The path can be either an image filename that follows CMFT (cubemap filtering tool;
https://github.com/dariomanesku/cmft) naming convention, or path to directory that contains six image files that follow
CMFT naming convention. Under this naming convention, image basenames end with face-specific suffices: _posx, _negx,
_posy, _negy, _posz, and _negz. If the given path is an image filename, it is assumed that the same directory contains
the remaining five images, and that they are named in the same way (same prefix and filename extension).
|
  | LoadCubeMap(RawImageData, RawImageData, RawImageData, RawImageData, RawImageData, RawImageData, VulkanDevice, String) |
Load cube map from 6 per-face images.
|
  | LoadCubeMap(String, String, String, String, String, String, VulkanDevice, IBitmapIO, String) |
Load cube map from 6 per-face images, as generated by the CMFT (cubemap filtering tool):
cmft --input papermill.hdr --filter none --outputNum 1 --output0params tga,bgr8,facelist --output0 papermill
(and then converted from TGA to PNG format).
|
Top
See Also