slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
gfx::FormatInfo结构体 参考

#include <slang-gfx.h>

Public 属性

GfxCount channelCount
 The amount of channels in the format. Only set if the channelType is set
 
uint8_t channelType
 
Size blockSizeInBytes
 The size of a block in bytes.
 
GfxCount pixelsPerBlock
 The number of pixels contained in a block.
 
GfxCount blockWidth
 The width of a block in pixels.
 
GfxCount blockHeight
 The height of a block in pixels.
 

类成员变量说明

◆ blockHeight

GfxCount gfx::FormatInfo::blockHeight

The height of a block in pixels.

◆ blockSizeInBytes

Size gfx::FormatInfo::blockSizeInBytes

The size of a block in bytes.

◆ blockWidth

GfxCount gfx::FormatInfo::blockWidth

The width of a block in pixels.

◆ channelCount

GfxCount gfx::FormatInfo::channelCount

The amount of channels in the format. Only set if the channelType is set

◆ channelType

uint8_t gfx::FormatInfo::channelType

One of SlangScalarType None if type isn't made up of elements of type. TODO: Change to uint32_t?

◆ pixelsPerBlock

GfxCount gfx::FormatInfo::pixelsPerBlock

The number of pixels contained in a block.


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