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. IOS版应用商店应用源码

    app商店 swift版 用swift编写的 应用商店 支持iPad iPhone利用了ios8过渡动画 支持横竖屏操作 源码下载: http://code.662p.com/view/11384.h ...

  2. C# 线程--第一单线程基础

    概念 什么是进程? 当一个程序被打开运行时,它就是一个进程.在进程中包括线程,进程可以由一个或多个线程组成. 什么是线程? 线程是程序执行流的最小单元.一个标准的线程由线程ID,当前指令指针(PC), ...

  3. Android开发之切换activity动画overridePendingTransition

    原文地址:http://blog.sina.com.cn/s/blog_706c449f01011s3v.html overridePendingTransition 在startActivity() ...

  4. DFS入门之一

    深度优先搜索实现较为简单,需要控制两个因素: 1.已经访问过的元素不能再访问,在实际题目中还要加上不能访问的元素(障碍) 2.越界这种情况是不允许的 以杭电的1312 Red and Black 为例 ...

  5. Codevs 1371 浴火银河跑运输

    时间限制: 1 s  空间限制: 128000 KB  题目等级 : 黄金 Gold  题目描述 Description: 小 K 又在玩浴火银河了...不过这次他的目的真的是跑运输赚钱... 他想知 ...

  6. Nginx在嵌入式系统中的应用

    -----------------本文转载自 http://blog.csdn.net/xteda/article/details/39708009 ------------------------- ...

  7. stanford moss

    A System for Detecting Software Plagiarism UPDATES May 18, 2014 Community contributions (incuding a ...

  8. LitJSON使用

    地址:http://lbv.github.io/litjson/docs/quickstart.html LitJSON Quickstart Guide Introduction Quick Sta ...

  9. git服务器简易搭建法

    受尽svn各种折磨的小伙伴都听说过git. 但是网上一搜索, 本来打算跟svn一样. 下一个服务器, 装下就可以开始用了. 没想到啊, 没想到. 居然需要Linux天赋点… 好吧, 拜鸟哥门下把Lin ...

  10. phpExcel导出excel的类,每步都有说明

    require_once WEB_PATH . '/lib/PHPExcel/PHPExcel.php'; require_once WEB_PATH . '/lib/PHPExcel/PHPExce ...