/// <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()));
 }
Example #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()));
 }
Example #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));
 }
Example #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()));
 }
Example #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()));
 }
Example #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()));
 }
Example #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()));
 }
Example #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()));
 }
 /// <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()));
 }
Example #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));
 }
Example #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()));
 }
Example #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));
 }
Example #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)));
 }
Example #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));
 }
Example #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()));
 }
Example #24
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(R.GetHashCode(), G.GetHashCode(), B.GetHashCode(), A.GetHashCode()));
 }
Example #25
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Stage.GetHashCode(), ShaderBytes.GetHashCode()));
 }
Example #26
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Resource.GetHashCode(), Subresource.GetHashCode()));
 }
Example #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()));
 }