Common |
The CommonStates type exposes the following members.
Name | Description | |
---|---|---|
AdditiveBlend | Additive blend (used for light, fire, laser beam, lightning bolt, etc.) D.rgb := S.rgb * S.a + D.rgb * 1 | |
AlphaToCoverage | Alpha-to-coverage blend state. See remarks for more information. | |
ClampSampler | Gets a SamplerState that uses Clamp. Sampler filter and anisotropy count are set based on the TextureFiltering value. | |
CullClockwise | Gets a RasterizerState that culls clockwise oriented triangles | |
CullClockwiseMultisample | Gets a RasterizerState that support multisampling and culls clockwise oriented triangles | |
CullCounterClockwise | Gets a RasterizerState that culls counter-clockwise oriented triangles | |
CullCounterClockwiseMultisample | Gets a RasterizerState that support multisampling and culls counter-clockwise oriented triangles | |
CullNone | Gets a RasterizerState that does not cull any triangles | |
CullNoneMultisample | Gets a RasterizerState that support multisampling and does not cull any triangles | |
DefaultBlendState | Gets or sets the default BlendState - initially set to Opaque BlendState. | |
DefaultDepthStencilState | Obsolete. Gets or sets the default DepthStencilState - initially set to DepthReadWrite DepthStencilState. | |
DefaultOpaqueDepthStencilState | Gets or sets the default DepthStencilState that is used for opaque (non-transparent) objects. Initially the value is set to DepthReadWrite DepthStencilState. . | |
DefaultRasterizerState | Gets or sets the default RasterizerState - initially set to CullClockwise RasterizerState. | |
DefaultTransparentDepthStencilState | Gets or sets the default DepthStencilState that is used for transparent objects. Initially the value is set to DepthReadWrite DepthStencilState. . | |
DepthNone | Gets a DepthStencilState without reading and writing to depth buffer | |
DepthRead | Gets a DepthStencilState with only reading and no writing to depth buffer | |
DepthReadWrite | Gets a DepthStencilState with reading and writing to depth buffer | |
DepthWrite | Gets a DepthStencilState with only writing and no reading to depth buffer | |
LinearClampSampler | Gets a SamplerState that uses linear (instead of anisotropic) filtering and Clamp address mode. | |
LinearWrapSampler | Gets a SamplerState that uses linear (instead of anisotropic) filtering and Wrap address mode. | |
MirrorSampler | Gets a SamplerState that uses Mirror. Sampler filter and anisotropy count are set based on the TextureFiltering value. | |
MirrorXSampler | Gets a SamplerState that uses Mirror for AddressU and Wrap for AddressV and AddressW. Sampler filter and anisotropy count are set based on the TextureFiltering value. | |
MirrorYSampler | Gets a SamplerState that uses Mirror for AddressV and Wrap for AddressU and AddressW. Sampler filter and anisotropy count are set based on the TextureFiltering value. | |
NonPremultipliedAlphaBlend | Alpha blend for non-pre-multiplied alpha (used for light, fire, laser beam, lightning bolt, etc.) | |
Opaque | Opaque blend state - blending is disabled. | |
PointClampSampler | Gets a SamplerState that uses point filtering (selects nearest color without any interpolation) and Clamp address mode. | |
PremultipliedAdditiveBlend | Additive blend for pre-multiplied alpha (used for light, fire, laser beam, lightning bolt, etc.) D.rgb := aS.rgb * 1 + D.rgb * 1 | |
PremultipliedAlphaBlend | Alpha blend used for pre-multiplied alpha (used for normal translucent objects, opaque sprites w/ alpha mask, etc.) D.rgb := aS.rgb * 1 + D.rgb * ( 1 - S.a ) | |
PremultipliedSubstractiveBlend | Substractive blend for pre-multiplied alpha (used for shadows, "negative lights", etc.) D.rgb := D.rgb * 1 - aS.rgb * 1 | |
RenderOnlyHiddenObjects | Gets a DepthStencilState that will render only objects that are behind other objects (renders only "hidden" objects). | |
TextureFiltering | Gets or sets an TextureFilteringTypes enum that specifies what sampler filter will be used to sample textures. Note that the TextureFiltering property cannot be changed after some sampler states have already been used. | |
TransparentBorderColorSampler | Gets a SamplerState that uses Border and sets the border color to transparent color (0, 0, 0, 0). Sampler filter and anisotropy count are set based on the TextureFiltering value. | |
WireframeCullClockwise | Gets a RasterizerState that renders the objects with wireframe and culls clockwise oriented triangles | |
WireframeCullCounterClockwise | Gets a RasterizerState that renders the objects with wireframe and culls counter-clockwise oriented triangles | |
WireframeCullNone | Gets a RasterizerState that renders the objects with wireframe and does not cull any triangles | |
WireframeMultisampleCullClockwise | Gets a RasterizerState that renders the objects with wireframe with multisampling and culls clockwise oriented triangles | |
WireframeMultisampleCullCounterClockwise | Gets a RasterizerState that renders the objects with wireframe with multisampling and culls counter-clockwise oriented triangles | |
WireframeMultisampleCullNone | Gets a RasterizerState that renders the objects with wireframe with multisampling and does not cull any triangles | |
WrapSampler | Gets a SamplerState that uses Wrap. Sampler filter and anisotropy count are set based on the TextureFiltering value. |