CubeMap Module
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
CubeMap.CreateCubeMapGeometry renderable
Parameters:
bool
Returns: CubeMapGeometry
|
|
Full Usage:
CubeMap.CreateCubeMapGeometryFromMesh (renderable, vertexData, indexData, bounds)
Parameters: Returns: CubeMapGeometry
|
|
Full Usage:
CubeMap.CreateCubeMapMesh ()
Parameters:
unit
Returns: float32[] * int array * Box3
|
|
Full Usage:
CubeMap.CreateCubeMapShader shaderFilePath
Parameters:
string
Returns: CubeMapShader
|
|
Full Usage:
CubeMap.CreateCubeMapVao ()
Parameters:
unit
Returns: uint32
|
|
|
|
Full Usage:
CubeMap.DrawCubeMap (view, projection, viewProjection, cubeMap, geometry, shader, vao)
Parameters:
single array
projection : single array
viewProjection : single array
cubeMap : Texture
geometry : CubeMapGeometry
shader : CubeMapShader
vao : uint
|
|
Full Usage:
CubeMap.TryCreateCubeMap (faceRightFilePath, faceLeftFilePath, faceTopFilePath, faceBottomFilePath, faceBackFilePath, faceFrontFilePath)
Parameters:
string
faceLeftFilePath : string
faceTopFilePath : string
faceBottomFilePath : string
faceBackFilePath : string
faceFrontFilePath : string
Returns: Either<string, Texture>
|
|
Full Usage:
CubeMap.VertexSize
Returns: int
|
|