Skip to content

KDGpu::Viewport

Module: Public API

#include <gpu_core.h>

Public Attributes

Name
float x
float y
float width
float height
float minDepth
float maxDepth

Friends

Name
bool operator==(const Viewport & , const Viewport & )

Public Attributes Documentation

variable x

1
float x { 0.0f };

variable y

1
float y { 0.0f };

variable width

1
float width;

variable height

1
float height;

variable minDepth

1
float minDepth { 0.0f };

variable maxDepth

1
float maxDepth { 1.0f };

Friends

friend operator==

1
2
3
4
5
friend bool operator==(
    const Viewport & ,

    const Viewport & 
);

Updated on 2024-11-24 at 00:01:30 +0000