Header menu logo Nu

SkyBox Module

Sky box operations.

Functions and values

Function or value Description

SkyBox.createSkyBoxPipeline colorAttachmentFormat depthAttachmentFormat context

Full Usage: SkyBox.createSkyBoxPipeline colorAttachmentFormat depthAttachmentFormat context

Parameters:
Returns: SkyBoxPipeline

Create a SkyBoxPipeline.

colorAttachmentFormat : VkFormat
depthAttachmentFormat : VkFormat
context : VulkanContext
Returns: SkyBoxPipeline

SkyBox.destroySkyBoxPipeline skyBoxPipeline context

Full Usage: SkyBox.destroySkyBoxPipeline skyBoxPipeline context

Parameters:

Destroy a SkyBoxPipeline.

skyBoxPipeline : SkyBoxPipeline
context : VulkanContext

SkyBox.drawSkyBox eyeCenter view projectionUnflipped color brightness cubeMap geometry sampler colorAttachment depthAttachment resolution pipeline context

Full Usage: SkyBox.drawSkyBox eyeCenter view projectionUnflipped color brightness cubeMap geometry sampler colorAttachment depthAttachment resolution pipeline context

Parameters:

Draw a sky box.

eyeCenter : Vector3
view : Matrix4x4
projectionUnflipped : Matrix4x4
color : Color
brightness : single
cubeMap : Texture
geometry : CubeMapGeometry
sampler : Sampler
colorAttachment : Texture
depthAttachment : Texture
resolution : Vector2i
pipeline : SkyBoxPipeline
context : VulkanContext

Type something to start searching.