FCT
载入中...
搜索中...
未找到
FCT::TextureSize结构体 参考

#include <RenderGraph_TextureSize.h>

FCT::TextureSize 的协作图:
Collaboration graph

Public 类型

enum class  Type { Absolute , Relative , Undefined }

Public 成员函数

 TextureSize (uint32_t w, uint32_t h) noexcept
 TextureSize (const Fraction &relW, const Fraction &relH) noexcept
 TextureSize (int32_t numW, int32_t denW, int32_t numH, int32_t denH) noexcept
 TextureSize () noexcept
bool isFullSize () const noexcept
float getRelativeWidthFloat () const noexcept
float getRelativeHeightFloat () const noexcept

静态 Public 成员函数

static TextureSize Absolute (uint32_t w, uint32_t h)
static TextureSize Relative (const Fraction &w, const Fraction &h)
static TextureSize Relative (int32_t numW, int32_t denW, int32_t numH, int32_t denH)
static TextureSize FullSize ()
static TextureSize HalfSize ()
static TextureSize QuarterSize ()
static TextureSize ThirdSize ()
static TextureSize TwoThirdsSize ()
static TextureSize ThreeQuartersSize ()

Public 属性

Type type
uint32_t width
uint32_t height
Fraction relativeWidth
Fraction relativeHeight

详细描述

在文件 RenderGraph_TextureSize.h4 行定义.

成员枚举类型说明

◆ Type

enum class FCT::TextureSize::Type
strong
枚举值
Absolute 
Relative 
Undefined 

在文件 RenderGraph_TextureSize.h6 行定义.

构造及析构函数说明

◆ TextureSize() [1/4]

FCT::TextureSize::TextureSize ( uint32_t w,
uint32_t h )
inlinenoexcept

在文件 RenderGraph_TextureSize.h19 行定义.

这是这个函数的调用关系图:

◆ TextureSize() [2/4]

FCT::TextureSize::TextureSize ( const Fraction & relW,
const Fraction & relH )
inlinenoexcept

在文件 RenderGraph_TextureSize.h22 行定义.

◆ TextureSize() [3/4]

FCT::TextureSize::TextureSize ( int32_t numW,
int32_t denW,
int32_t numH,
int32_t denH )
inlinenoexcept

在文件 RenderGraph_TextureSize.h25 行定义.

◆ TextureSize() [4/4]

FCT::TextureSize::TextureSize ( )
inlinenoexcept

在文件 RenderGraph_TextureSize.h29 行定义.

这是这个函数的调用关系图:

成员函数说明

◆ Absolute()

TextureSize FCT::TextureSize::Absolute ( uint32_t w,
uint32_t h )
inlinestatic

在文件 RenderGraph_TextureSize.h32 行定义.

函数调用图:

◆ FullSize()

TextureSize FCT::TextureSize::FullSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h44 行定义.

函数调用图:

◆ getRelativeHeightFloat()

float FCT::TextureSize::getRelativeHeightFloat ( ) const
inlinenoexcept

在文件 RenderGraph_TextureSize.h80 行定义.

◆ getRelativeWidthFloat()

float FCT::TextureSize::getRelativeWidthFloat ( ) const
inlinenoexcept

在文件 RenderGraph_TextureSize.h76 行定义.

◆ HalfSize()

TextureSize FCT::TextureSize::HalfSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h48 行定义.

函数调用图:

◆ isFullSize()

bool FCT::TextureSize::isFullSize ( ) const
inlinenoexcept

在文件 RenderGraph_TextureSize.h70 行定义.

◆ QuarterSize()

TextureSize FCT::TextureSize::QuarterSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h52 行定义.

函数调用图:

◆ Relative() [1/2]

TextureSize FCT::TextureSize::Relative ( const Fraction & w,
const Fraction & h )
inlinestatic

在文件 RenderGraph_TextureSize.h36 行定义.

函数调用图:

◆ Relative() [2/2]

TextureSize FCT::TextureSize::Relative ( int32_t numW,
int32_t denW,
int32_t numH,
int32_t denH )
inlinestatic

在文件 RenderGraph_TextureSize.h40 行定义.

函数调用图:

◆ ThirdSize()

TextureSize FCT::TextureSize::ThirdSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h57 行定义.

函数调用图:

◆ ThreeQuartersSize()

TextureSize FCT::TextureSize::ThreeQuartersSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h65 行定义.

函数调用图:

◆ TwoThirdsSize()

TextureSize FCT::TextureSize::TwoThirdsSize ( )
inlinestatic

在文件 RenderGraph_TextureSize.h61 行定义.

函数调用图:

类成员变量说明

◆ height

uint32_t FCT::TextureSize::height

在文件 RenderGraph_TextureSize.h14 行定义.

◆ relativeHeight

Fraction FCT::TextureSize::relativeHeight

在文件 RenderGraph_TextureSize.h17 行定义.

◆ relativeWidth

Fraction FCT::TextureSize::relativeWidth

在文件 RenderGraph_TextureSize.h16 行定义.

◆ type

Type FCT::TextureSize::type

在文件 RenderGraph_TextureSize.h12 行定义.

◆ width

uint32_t FCT::TextureSize::width

在文件 RenderGraph_TextureSize.h13 行定义.


该结构体的文档由以下文件生成: