Blend state

State            Default Value
AlphaToCoverage  Enable FALSE
IndependentBlend  Enable FALSE
RenderTarget[0].BlendEnable    FALSE
RenderTarget[0].SrcBlend    D3D11_BLEND_ONE
RenderTarget[0].DestBlend    D3D11_BLEND_ZERO
RenderTarget[0].BlendOp       D3D11_BLEND_OP_ADD
RenderTarget[0].SrcBlendAlpha    D3D11_BLEND_ONE
RenderTarget[0].DestBlendAlpha   D3D11_BLEND_ZERO
RenderTarget[0].BlendOpAlpha    D3D11_BLEND_OP_ADD
RenderTarget[0].RenderTargetWriteMask   D3D11_COLOR_WRITE_ENABLE_ALL

Depth and Stencil state

State          Default Value
DepthEnable          TRUE
DepthWriteMask    D3D11_DEPTH_WRITE_MASK_ALL
DepthFunc    D3D11_COMPARISON_LESS
StencilEnable    FALSE
StencilReadMask    D3D11_DEFAULT_STENCIL_READ_MASK
StencilWriteMask    D3D11_DEFAULT_STENCIL_WRITE_MASK

FrontFace.StencilFunc    D3D11_COMPARISON_ALWAYS
and
BackFace.StencilFunc

FrontFace.StencilDepthFailOp    D3D11_STENCIL_OP_KEEP
and
BackFace.StencilDepthFailOp

FrontFace.StencilPassOp   D3D11_STENCIL_OP_KEEP
and
BackFace.StencilPassOp

FrontFace.StencilFailOp   D3D11_STENCIL_OP_KEEP
and
BackFace.StencilFailOp

Rasterizer state

State        Default Value
FillMode      Solid
CullMode        Back
FrontCounterClockwise    FALSE
DepthBias          0
SlopeScaledDepthBias    0.0f
DepthBiasClamp    0.0f
DepthClipEnable    TRUE
ScissorEnable     FALSE
MultisampleEnable    FALSE
AntialiasedLineEnable   FALSE

sampler state

State            Default Value
Filter     D3D11_FILTER_MIN_MAG_MIP_LINEAR
AddressU    D3D11_TEXTURE_ADDRESS_CLAMP
AddressV    D3D11_TEXTURE_ADDRESS_CLAMP
AddressW    D3D11_TEXTURE_ADDRESS_CLAMP
MinLOD      -3.402823466e+38F (-FLT_MAX)
MaxLOD      3.402823466e+38F (FLT_MAX)
MipMapLODBias   0.0f
MaxAnisotropy    1
ComparisonFunc    D3D11_COMPARISON_NEVER
BorderColor    float4(1.0f,1.0f,1.0f,1.0f)
Texture       N/A

http://msdn.microsoft.com/en-us/library/windows/desktop/ff476207(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/windows/desktop/ff476121(v=vs.85).aspx

d3d11 effect state and default value tables的更多相关文章

  1. effect state dx11

    一个blendstate { BlendEnable[0]=TRUE; SrcBlend[0]=ONE; DestBlend[]=ONE; BlendOp[0]=ADD; } [0]-----一次混合 ...

  2. [AngularJS] Default Child state and nav between child state

    Let's say we want a parent state which is a abstract state. Two children states, one is for sinlge a ...

  3. [Functional Programming + React] Provide a reasonable default value for mapStateToProps in case initial state is undefined

    For example we have a component, it needs to call 'react-redux' connect function. import { compose, ...

  4. InnoDB On-Disk Structures(一)-- Tables (转载)

    转载.节选于https://dev.mysql.com/doc/refman/8.0/en/innodb-tables.html 1.InnoDB Architecture The following ...

  5. [Angular] NgRx/effect, why to use it?

    See the current implementaion of code, we have a smart component, and inside the smart component we ...

  6. Tables without a clustered index are not supported in this version of SQL Server. Please create a clustered index and try again.

    问题: Azure Sql 在插入数据是出现“Msg 40054, Level 16, State 1, Line 2  Tables without a clustered index are no ...

  7. [Redux] Normalizing the State Shape

    We will learn how to normalize the state shape to ensure data consistency that is important in real- ...

  8. vuex this.$store.state.属性和mapState的属性中的一点点区别

    做泰康公众号的项目时候有一个需求创建公众号的时候后台有一个社区id提供给后台展现人员和部门,在群发消息时候也要给后台一个社区id只不过获取社区的id接口和上一个不是一样的,本来在页面中写了两个sele ...

  9. 前端(十一):props、state及redux关系梳理

    所谓状态机,是一种抽象的数据模型,是“事物发展的趋势”,其原理是事件驱动.广泛地讲,世界万物都是状态机. 一.状态机是一种抽象的数据模型 在react中,props和state都可以用来传递数据.这里 ...

随机推荐

  1. 【C语言】02-函数

    一.函数的分类 前面已经说过,C语言中的函数就是面向对象中的"方法",C语言的函数可以大概分为3类: 1.主函数,也就是main函数.每个程序中只能有一个.也必须有一个主函数.无论 ...

  2. PropertyGrid排序

    解决PropertyGrid对自定义属性排序的问题. 参考了:http://www.cnblogs.com/greatverve/archive/2012/02/08/propergrid-order ...

  3. js 正则表达式 手机号

    js--手机号验证 //注册验证 function RegsiterBtn() { var regphone = $("#regphone").val(); var regreal ...

  4. 20150303--从SQL中获取数据的三级联动

    省市地区的三级联动,每变更一次所选地都需要提交,但是又不需要把整个页面提交,所以我们需要使用控件:UdataPanel.工具--AJAX扩展 还有ScriptManager,并要将其放在页面的最顶端. ...

  5. JavaScript之字符串

    一.声明方式 1. 直接赋值 var str = 'hello javascript'; 2. 构造函数 var str2 = new String('hello world'); 这两种有什么区别呢 ...

  6. 《JavaScript高级程序设计》心得笔记-----第一篇章

    第一章 JavaScript由ECMAScript.DOM.BOM组成.其中BOM功能在HTML5中有了正式的规范,使BOM的兼容性越来越高. 第二章 1.<script>属性中的asyn ...

  7. [大牛翻译系列]Hadoop(19)MapReduce 文件处理:基于压缩的高效存储(二)

    5.2 基于压缩的高效存储(续) (仅包括技术27) 技术27 在MapReduce,Hive和Pig中使用可分块的LZOP 如果一个文本文件即使经过压缩后仍然比HDFS的块的大小要大,就需要考虑选择 ...

  8. react-native-vector-icons 安装

    react-native-vector-icons 是可以直接使用图片名就能加载图片的第三方,类似于web的iconfont矢量图,使用很方便, 你不需要在工程文件夹里塞各种图片, 节省很多空间,下面 ...

  9. php获取系统信息的方法

    php获取系统信息的方法. 用 getenv函数进行处理: <?php $root = getenv('DOCUMENT_ROOT'); ////服务器文档根目录 $port = getenv( ...

  10. 图片放大缩小(和ViewPager配合使用流畅显示)--第三方开源--PhotoView

    图片的放大缩小实现效果是使用的github上的一个开源项目photoView实现的,下载地址:https://github.com/chrisbanes/PhotoView 下面看测试代码: acti ...