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

#include <slang-gfx.h>

Public 属性

TextureFilteringMode minFilter = TextureFilteringMode::Linear
 
TextureFilteringMode magFilter = TextureFilteringMode::Linear
 
TextureFilteringMode mipFilter = TextureFilteringMode::Linear
 
TextureReductionOp reductionOp = TextureReductionOp::Average
 
TextureAddressingMode addressU = TextureAddressingMode::Wrap
 
TextureAddressingMode addressV = TextureAddressingMode::Wrap
 
TextureAddressingMode addressW = TextureAddressingMode::Wrap
 
float mipLODBias = 0.0f
 
uint32_t maxAnisotropy = 1
 
ComparisonFunc comparisonFunc = ComparisonFunc::Never
 
float borderColor [4] = {1.0f, 1.0f, 1.0f, 1.0f}
 
float minLOD = -FLT_MAX
 
float maxLOD = FLT_MAX
 

类成员变量说明

◆ addressU

TextureAddressingMode gfx::ISamplerState::Desc::addressU = TextureAddressingMode::Wrap

◆ addressV

TextureAddressingMode gfx::ISamplerState::Desc::addressV = TextureAddressingMode::Wrap

◆ addressW

TextureAddressingMode gfx::ISamplerState::Desc::addressW = TextureAddressingMode::Wrap

◆ borderColor

float gfx::ISamplerState::Desc::borderColor[4] = {1.0f, 1.0f, 1.0f, 1.0f}

◆ comparisonFunc

ComparisonFunc gfx::ISamplerState::Desc::comparisonFunc = ComparisonFunc::Never

◆ magFilter

TextureFilteringMode gfx::ISamplerState::Desc::magFilter = TextureFilteringMode::Linear

◆ maxAnisotropy

uint32_t gfx::ISamplerState::Desc::maxAnisotropy = 1

◆ maxLOD

float gfx::ISamplerState::Desc::maxLOD = FLT_MAX

◆ minFilter

TextureFilteringMode gfx::ISamplerState::Desc::minFilter = TextureFilteringMode::Linear

◆ minLOD

float gfx::ISamplerState::Desc::minLOD = -FLT_MAX

◆ mipFilter

TextureFilteringMode gfx::ISamplerState::Desc::mipFilter = TextureFilteringMode::Linear

◆ mipLODBias

float gfx::ISamplerState::Desc::mipLODBias = 0.0f

◆ reductionOp

TextureReductionOp gfx::ISamplerState::Desc::reductionOp = TextureReductionOp::Average

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