Texture2DMS Texture2DMSArray TextureCube TextureCubeArray Shader Model 5.1(着色器模型 5.1) 着色器型号 6 内部函数 Asm 着色器参考 D3DCompiler 参考 内联格式转换函数 附录 HLSL 错误和警告 下载PDF Learn Windows 应用 Win32 桌面技术 图形和游戏
Texture2D::Gather (S,float,int,uint) 函数 - Win32 apps 使用英语阅读 保存 添加到集合 添加到计划 通过 Facebookx.com 共享LinkedIn电子邮件 打印 项目 2023/06/13 7 个参与者 反馈 本文内容 语法 parameters 返回值 备注 请参阅 返回将在双线性筛选操作中使用的四个纹素值,以及磁贴映射状态。
返回将在双线性筛选操作中使用的四个纹素值的 alpha 分量,以及磁贴映射状态。 |Texture2D::GatherAlpha (S,float,int2,int2,int2,int2,int2,uint) 函数
对于将在双线性筛选操作中使用的四个纹素值,返回其蓝色分量与比较值的比较。 |Texture2D::GatherCmpBlue (S,float,float,int2,int2,int2,int2) 函数
針對在雙向線性篩選作業中使用的四個紋素值,會傳回其 Alpha 元件的比較與比較值。 |Texture2D::GatherCmpAlpha (S,float,float,int) 函式
返回将在双线性筛选操作中使用的四个纹素值的蓝色分量,以及磁贴映射状态。 |Texture2DArray::GatherBlue (S,float,int2,int2,int2,int2,int2,uint) 函数
The sampler types taken for the non-offset textureGather calls are non-multisample texture types which are not 1D or 3D. For the offset gather functions, only 2D, 2D array, and rectangle samplers (along with the shadow variations).
rwtexture2d-load.md rwtexture2darray-load-float-.md rwtexture2darray-load-float-uint-.md rwtexture2darray-load.md rwtexture3d-load-float-.md rwtexture3d-load-float-uint-.md rwtexture3d-load.md sample--sm4---asm-.md sample-b--sm4---asm-.md sample-c--sm4---...
外加特定的标志,后一句说, 纹理的W*H比普通的纹理更有限制(这个限制可以查询设备属性)。 单独查询一下设备属性, 有个MaxTexture2DGather的属性的,那里会告诉你当前设备上的限制。 有不明白的地方,请在本文后留言 或者在我们的技术论坛bbs.gpuworld.cn上发帖...
Furthermore, if you want to improve the cache hit ratio by using texture swizzling (i.e. fitting 2D texel blocks into cache lines by swapping addressing bits around), the address for each texel can vary even more (while still improving overall locality). With a gather instruct...