CubeMap Module
Cube map operations.
Functions and values
| Function or value | Description |
Full Usage:
CubeMap.VertexSize
Returns: int
|
|
Full Usage:
CubeMap.createCubeMapGeometry renderable context
Parameters:
bool
context : VulkanContext
Returns: CubeMapGeometry
|
|
Full Usage:
CubeMap.createCubeMapGeometryFromMesh renderable vertexData indexData bounds context
Parameters:
bool
vertexData : Memory<single>
indexData : Memory<int>
bounds : Box3
context : VulkanContext
Returns: CubeMapGeometry
|
|
Full Usage:
CubeMap.createCubeMapMesh ()
Parameters:
unit
Returns: float32[] * int array * Box3
|
|
Full Usage:
CubeMap.createCubeMapPipeline shaderPath colorAttachmentFormat context
Parameters:
string
colorAttachmentFormat : VkFormat
context : VulkanContext
Returns: CubeMapPipeline
|
|
Full Usage:
CubeMap.destroyCubeMapGeometry geometry context
Parameters:
CubeMapGeometry
context : VulkanContext
|
|
Full Usage:
CubeMap.destroyCubeMapPipeline cubeMapPipeline context
Parameters:
Pipeline
context : VulkanContext
|
|
Full Usage:
CubeMap.drawCubeMap eyeCenter view projectionUnflipped flipped cubeMap sampler geometry resolution colorAttachment pipeline getCommandBuffer advanceCommandBufferWhenNeeded context
Parameters:
Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
flipped : bool
cubeMap : Texture
sampler : Sampler
geometry : CubeMapGeometry
resolution : int
colorAttachment : VkImageView
pipeline : CubeMapPipeline
getCommandBuffer : unit -> VkCommandBuffer
advanceCommandBufferWhenNeeded : unit -> unit
context : VulkanContext
|
|
Full Usage:
CubeMap.tryCreateCubeMap faceRightFilePath faceLeftFilePath faceTopFilePath faceBottomFilePath faceBackFilePath faceFrontFilePath thread context
Parameters:
string
faceLeftFilePath : string
faceTopFilePath : string
faceBottomFilePath : string
faceBackFilePath : string
faceFrontFilePath : string
thread : TextureLoadThread
context : VulkanContext
Returns: Either<string, Texture>
|
|
Nu