/// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                SizeInBytes.GetHashCode(),
                Usage.GetHashCode(),
                StructureByteStride.GetHashCode()));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                DepthAttachment.GetHashCode(),
                HashHelper.Array(ColorAttachments),
                SampleCount.GetHashCode()));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                BlendFactor.GetHashCode(),
                AlphaToCoverageEnabled.GetHashCode(),
                HashHelper.Array(AttachmentStates)));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Name.GetHashCode(),
                Format.GetHashCode(),
                Semantic.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Name.GetHashCode(),
                (int)Format,
                (int)Semantic));
 }
Esempio n. 6
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                HashHelper.Array(VertexLayouts),
                HashHelper.Array(Shaders),
                HashHelper.Array(Specializations)));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                (int)Stage,
                ShaderBytes.GetHashCode(),
                EntryPoint.GetHashCode(),
                Debug.GetHashCode()));
 }
Esempio n. 8
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                (int)CullMode,
                (int)FillMode,
                (int)FrontFace,
                DepthClipEnabled.GetHashCode(),
                ScissorTestEnabled.GetHashCode(), LineWidth.GetHashCode()));
 }
Esempio n. 9
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Source.GetHashCode(),
                Width.GetHashCode(),
                Height.GetHashCode(),
                DepthFormat.GetHashCode(),
                SyncToVerticalBlank.GetHashCode()));
 }
Esempio n. 10
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                ComputeShader.GetHashCode(),
                HashHelper.Array(ResourceLayouts),
                ThreadGroupSizeX.GetHashCode(),
                ThreadGroupSizeY.GetHashCode(),
                ThreadGroupSizeZ.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Target.GetHashCode(),
                BaseMipLevel.GetHashCode(),
                MipLevels.GetHashCode(),
                BaseArrayLayer.GetHashCode(),
                ArrayLayers.GetHashCode()));
 }
Esempio n. 12
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                CullMode.GetHashCode(),
                FillMode.GetHashCode(),
                FrontFace.GetHashCode(),
                DepthClipEnabled.GetHashCode(),
                ScissorTestEnabled.GetHashCode()));
 }
Esempio n. 13
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                X.GetHashCode(),
                Y.GetHashCode(),
                Width.GetHashCode(),
                Height.GetHashCode(),
                MinDepth.GetHashCode(),
                MaxDepth.GetHashCode()));
 }
Esempio n. 14
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                BlendState.GetHashCode(),
                DepthStencilState.GetHashCode(),
                RasterizerState.GetHashCode(),
                PrimitiveTopology.GetHashCode(),
                ShaderSet.GetHashCode(),
                HashHelper.Array(ResourceLayouts),
                Outputs.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                BlendEnabled.GetHashCode(),
                (int)SourceColorFactor,
                (int)DestinationColorFactor,
                (int)ColorFunction,
                (int)SourceAlphaFactor,
                (int)DestinationAlphaFactor,
                (int)AlphaFunction));
 }
Esempio n. 16
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Width.GetHashCode(),
                Height.GetHashCode(),
                Depth.GetHashCode(),
                MipLevels.GetHashCode(),
                ArrayLayers.GetHashCode(),
                Format.GetHashCode(),
                Usage.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                BlendEnabled.GetHashCode(),
                SourceColorFactor.GetHashCode(),
                DestinationColorFactor.GetHashCode(),
                ColorFunction.GetHashCode(),
                SourceAlphaFactor.GetHashCode(),
                DestinationAlphaFactor.GetHashCode(),
                AlphaFunction.GetHashCode()));
 }
Esempio n. 18
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                Width.GetHashCode(),
                Height.GetHashCode(),
                Depth.GetHashCode(),
                MipLevels.GetHashCode(),
                ArrayLayers.GetHashCode(),
                (int)Format,
                (int)Usage,
                (int)Type,
                (int)SampleCount));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                (int)AddressModeU,
                (int)AddressModeV,
                (int)AddressModeW,
                (int)Filter,
                ComparisonKind.GetHashCode(),
                MaximumAnisotropy.GetHashCode(),
                MinimumLod.GetHashCode(),
                MaximumLod.GetHashCode(),
                LodBias.GetHashCode(),
                (int)BorderColor));
 }
Esempio n. 20
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                AddressModeU.GetHashCode(),
                AddressModeV.GetHashCode(),
                AddressModeW.GetHashCode(),
                Filter.GetHashCode(),
                ComparisonKind.GetHashCode(),
                MaximumAnisotropy.GetHashCode(),
                MinimumLod.GetHashCode(),
                MaximumLod.GetHashCode(),
                LodBias.GetHashCode(),
                BorderColor.GetHashCode()));
 }
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(DepthTarget.GetHashCode(), HashHelper.Array(ColorTargets)));
 }
Esempio n. 22
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Name.GetHashCode(), (int)Kind, (int)Stages));
 }
Esempio n. 23
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Name.GetHashCode(), Kind.GetHashCode(), Stages.GetHashCode()));
 }
Esempio n. 24
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(R.GetHashCode(), G.GetHashCode(), B.GetHashCode(), A.GetHashCode()));
 }
Esempio n. 25
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Stage.GetHashCode(), ShaderBytes.GetHashCode()));
 }
Esempio n. 26
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Resource.GetHashCode(), Subresource.GetHashCode()));
 }
Esempio n. 27
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(ID.GetHashCode(), (int)Type, Data.GetHashCode()));
 }