Skip to content

KDGpuExample

Classes

Types

Name
enum class uint8_t ApplyPostViewCorrection { No, Yes}

Functions

Name
glm::mat4 postViewCorrection()
glm::mat4 ortho(const OrthoOptions & options)
glm::mat4 perspective(const PerspectiveOptions & options)
glm::mat4 perspective(const AsymmetricPerspectiveOptions & options)
glm::mat4 perspective(const AsymmetricFieldOfViewPerspectiveOptions & options)
glm::mat4 viewMatrix(const ViewMatrixOptions & options)

Attributes

Name
uint32_t MAX_FRAMES_IN_FLIGHT

Types Documentation

enum ApplyPostViewCorrection

Enumerator Value Description
No
Yes

Functions Documentation

function postViewCorrection

1
glm::mat4 postViewCorrection()

function ortho

1
2
3
glm::mat4 ortho(
    const OrthoOptions & options
)

function perspective

1
2
3
glm::mat4 perspective(
    const PerspectiveOptions & options
)

function perspective

1
2
3
glm::mat4 perspective(
    const AsymmetricPerspectiveOptions & options
)

function perspective

1
2
3
glm::mat4 perspective(
    const AsymmetricFieldOfViewPerspectiveOptions & options
)

function viewMatrix

1
2
3
glm::mat4 viewMatrix(
    const ViewMatrixOptions & options
)

Attributes Documentation

variable MAX_FRAMES_IN_FLIGHT

1
uint32_t MAX_FRAMES_IN_FLIGHT = 2;

Updated on 2025-04-12 at 00:01:44 +0000