Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientSkyboxDesc Struct Reference

Skybox description. More...

#include <RadientView.h>

Public Attributes

RADIENT_SKYBOX_SOURCE Source = RADIENT_SKYBOX_SOURCE_NONE
 Skybox source.
IRadientTextureAssetpTexture = nullptr
 Explicit skybox texture used when Source is RADIENT_SKYBOX_SOURCE_TEXTURE.
RadientFloat3 Color = {1.f, 1.f, 1.f}
 Skybox color multiplier.
Float32 Intensity = 1.f
 Skybox intensity multiplier.
Float32 Exposure = 0.f
 Exposure multiplier as a power of 2.
Float32 MipLevel = 0.f
 Mip level used for skybox sampling.
Float32 Yaw = 0.f
Bool SphereMapRow0IsNegativeY = False

Detailed Description

Skybox description.

Member Data Documentation

◆ SphereMapRow0IsNegativeY

Bool Diligent::RadientSkyboxDesc::SphereMapRow0IsNegativeY = False

Whether row 0 of a spherical skybox texture represents the negative Y direction. Used only when Source is RADIENT_SKYBOX_SOURCE_TEXTURE and ignored for cube maps.

◆ Yaw

Float32 Diligent::RadientSkyboxDesc::Yaw = 0.f

Horizontal orientation of an explicit skybox texture, in radians. Rotation is around the world-up axis (+Y); positive angles rotate +X toward -Z. Used only when Source is RADIENT_SKYBOX_SOURCE_TEXTURE.