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. js 倒计时 button不可用

    function showtime() { fun_timedown(5); } function fun_timedown(time) { $("#timedown").val( ...

  2. S(tuple)类及可选(Optional)类型型

    元组将多个值组合为单个值.元组内的值可以是任意 类型,各元素不必是相同的类型.元组在作为函数返 回值时尤其有用. 1.定义方法1 let http404Error= (404,"Not Fo ...

  3. UI5_HomeWork

    // // View.h // UI5_HomeWork // // Created by zhangxueming on 15/7/2. // Copyright (c) 2015年 zhangxu ...

  4. PHP 正则表达式替换一部分内容

    preg_replace('/&topic=(.*?)&type=/',"&topic={$data['topic']}&type=",$postF ...

  5. canvas 绘点图

    canvas 绘点图 项目中需要一个记录点实时变动的信息,在此记录一下: <!DOCTYPE html> <html lang="en"> <head ...

  6. HTML表单样式

    <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"% ...

  7. Global::validateEmail

    /***************************************************************** (C) Copyright DENTSPLY Internatio ...

  8. Mvc中把list从View传入Controller

    public class User { public string Name { get; set; } public bool IsChecked { get;set;} public int Ag ...

  9. 【面试虐菜】—— Jboss调优

    吐血整理了以前Jboss以及JVM在生产环境下的调优参数,各种不同的案例,都是来自网友杜撰.整合后,希望对广大使用jboss作为生产应用服务器的朋友有所帮助. JBOSS参数调优 配置deploy/j ...

  10. eclipse插件 代码提示和着色

    插件一:Eclipse HTML Editor,用于编辑一些页面文件,例如JSP,HTML,JS等 Eclipse HTML编辑器插件主要提供以下功能:- HTML/JSP/XML/CSS/DTD/J ...