Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Effect States / SampleAlphaToOneEnable

Name

SampleAlphaToOneEnable - 3D API sample alpha to one enable

Usage

SampleAlphaToOneEnable = bool(enable)

Valid Enumerants

enable: true, false

Description

Enable/disable OpenGL maximum coverage sampling. See the GL_SAMPLE_ALPHA_TO_ONE_ARB description on the OpenGL glEnable manual page for details.

The standard reset callback sets the SampleAlphaToOneEnable state to bool(false).

Opengl Functionality Requirements

OpenGL 1.3 or support for extension ARB_multisample.

Direct3D Functionality Requirements

Not applicable.

See Also

SampleAlphaToCoverageEnable, SampleCoverageEnable, MultiSampleAntialias, MultiSampleMask, MultisampleEnable


Cg Toolkit | Cg Toolkit | Download | Release Archive | Profiles | Reference | Books | Discussions |


Cg Effect States

AddressUi
AddressVi
AddressWi
AlphaArg0
AlphaArg1
AlphaArg2
AlphaBlendEnable
AlphaFunc
AlphaOp
AlphaRef
AlphaTestEnable
AmbientMaterialSource
Ambient
AutoNormalEnable
BlendColor
BlendEnable
BlendEquation
BlendEquationSeparate
BlendFunc
BlendFuncSeparate
BlendOpAlpha
BlendOp
BorderColori
BumpEnvLOffset
BumpEnvLScale
BumpEnvMat00
BumpEnvMat01
BumpEnvMat10
BumpEnvMat11
ClearColor
ClearDepth
ClearStencil
Clipping
ClipPlaneEnable
ClipPlane
ColorArg0
ColorArg1
ColorArg2
ColorLogicOpEnable
ColorMask
ColorMaterial
ColorMatrix
ColorOp
ColorTransform
ColorVertex
ColorWriteEnable1
ColorWriteEnable2
ColorWriteEnable3
ColorWriteEnable
CullFaceEnable
CullFace
CullMode
DepthBias
DepthBoundsEnable
DepthBounds
DepthClampEnable
DepthFunc
DepthMask
DepthRange
DepthTestEnable
DestBlendAlpha
DestBlend
DiffuseMaterialSource
DitherEnable
EmissiveMaterialSource
FillMode
FogColor
FogCoordSrc
FogDensity
FogDistanceMode
FogEnable
FogEnd
FogMode
FogStart
FogTableMode
FogVertexMode
FragmentEnvParameter
FragmentLocalParameter
FragmentProgram
FrontFace
GeometryProgram
GeometryShader
IndexedVertexBlendEnable
LastPixel
LightAmbient
LightAttenuation0
LightAttenuation1
LightAttenuation2
LightConstantAttenuation
LightDiffuse
LightDirection
LightEnable
LightFalloff
LightingEnable
Lighting
LightLinearAttenuation
LightModelAmbient
LightModelColorControl
LightModelLocalViewerEnable
LightModelTwoSideEnable
LightPhi
LightPosition
LightQuadraticAttenuation
LightRange
LightSpecular
LightSpotCutoff
LightSpotDirection
LightSpotExponent
LightTheta
LightType
LineSmoothEnable
LineStippleEnable
LineStipple
LineWidth
LocalViewer
LogicOpEnable
LogicOp
MagFilteri
MaterialAmbient
MaterialDiffuse
MaterialEmission
MaterialEmissive
MaterialPower
MaterialShininess
MaterialSpecular
MaxAnisotropyi
MaxMipLeveli
MinFilteri
MipFilteri
MipMapLodBiasi
ModelViewMatrix
ModelViewTransform
MultiSampleAntialias
MultisampleEnable
MultiSampleMask
NormalizeEnable
NormalizeNormals
PatchSegments
PixelShaderConstant1
PixelShaderConstant2
PixelShaderConstant3
PixelShaderConstant4
PixelShaderConstantB
PixelShaderConstantF
PixelShaderConstantI
PixelShaderConstant
PixelShader
PointDistanceAttenuation
PointFadeThresholdSize
PointScale_A
PointScale_B
PointScale_C
PointScaleEnable
PointSizeMax
PointSizeMin
PointSize
PointSmoothEnable
PointSpriteCoordOrigin
PointSpriteCoordReplace
PointSpriteEnable
PointSpriteRMode
PolygonMode
PolygonOffsetFillEnable
PolygonOffsetLineEnable
PolygonOffset
PolygonOffsetPointEnable
PolygonSmoothEnable
PolygonStippleEnable
ProjectionMatrix
ProjectionTransform
RangeFogEnable
RescaleNormalEnable
ResultArg
SampleAlphaToCoverageEnable
SampleAlphaToOneEnable
SampleCoverageEnable
Sampler
Scissor
ScissorTestEnable
SeparateAlphaBlendEnable
ShadeModel
ShadeMode
SlopScaleDepthBias
SpecularEnable
SpecularMaterialSource
SrcBlendAlpha
SrcBlend
StencilEnable
StencilFail
StencilFunc
StencilFuncSeparate
StencilMask
StencilMaskSeparate
StencilOp
StencilOpSeparate
StencilPass
StencilRef
StencilTestEnable
StencilTestTwoSideEnable
StencilWriteMask
StencilZFail
TessellationControlProgram
TessellationControlShader
TessellationEvaluationProgram
TessellationEvaluationShader
TexCoordIndex
TexGenQEnable
TexGenQEyePlane
TexGenQMode
TexGenQObjectPlane
TexGenREnable
TexGenREyePlane
TexGenRMode
TexGenRObjectPlane
TexGenSEnable
TexGenSEyePlane
TexGenSMode
TexGenSObjectPlane
TexGenTEnable
TexGenTEyePlane
TexGenTMode
TexGenTObjectPlane
Texture1DEnable
Texture1D
Texture2DEnable
Texture2D
Texture3DEnable
Texture3D
TextureCubeMapEnable
TextureCubeMap
TextureEnvColor
TextureEnvMode
TextureFactor
TextureMatrix
TextureRectangleEnable
TextureRectangle
TextureTransformFlags
TextureTransform
TweenFactor
TwoSidedStencilMode
VertexBlend
VertexEnvParameter
VertexLocalParameter
VertexProgram
VertexProgramPointSizeEnable
VertexProgramTwoSideEnable
VertexShaderConstant1
VertexShaderConstant2
VertexShaderConstant3
vertexShaderConstant4
VertexShaderConstantB
VertexShaderConstantF
VertexShaderConstantI
VertexShaderConstant
VertexShader
ViewTransform
WorldTransform
Wrap0
Wrap10
Wrap11
Wrap12
Wrap13
Wrap14
Wrap15
Wrap1
Wrap2
Wrap3
Wrap4
Wrap5
Wrap6
Wrap7
Wrap8
Wrap9
ZEnable
ZFunc
ZWriteEnable