Beispiel #1
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(
                SizeInBytes.GetHashCode(),
                Usage.GetHashCode(),
                StructureByteStride.GetHashCode()));
 }
Beispiel #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(
                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(
                Source.GetHashCode(),
                Width.GetHashCode(),
                Height.GetHashCode(),
                DepthFormat.GetHashCode(),
                SyncToVerticalBlank.GetHashCode()));
 }
Beispiel #4
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(
                CullMode.GetHashCode(),
                FillMode.GetHashCode(),
                FrontFace.GetHashCode(),
                DepthClipEnabled.GetHashCode(),
                ScissorTestEnabled.GetHashCode()));
 }
Beispiel #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(
                X.GetHashCode(),
                Y.GetHashCode(),
                Width.GetHashCode(),
                Height.GetHashCode(),
                MinDepth.GetHashCode(),
                MaxDepth.GetHashCode()));
 }
Beispiel #7
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(
                BlendState.GetHashCode(),
                DepthStencilState.GetHashCode(),
                RasterizerState.GetHashCode(),
                PrimitiveTopology.GetHashCode(),
                ShaderSet.GetHashCode(),
                HashHelper.Array(ResourceLayouts),
                Outputs.GetHashCode()));
 }
Beispiel #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(
                BlendEnabled.GetHashCode(),
                SourceColorFactor.GetHashCode(),
                DestinationColorFactor.GetHashCode(),
                ColorFunction.GetHashCode(),
                SourceAlphaFactor.GetHashCode(),
                DestinationAlphaFactor.GetHashCode(),
                AlphaFunction.GetHashCode()));
 }
Beispiel #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(
                DepthTestEnabled.GetHashCode(),
                DepthWriteEnabled.GetHashCode(),
                DepthComparison.GetHashCode(),
                StencilTestEnabled.GetHashCode(),
                StencilFront.GetHashCode(),
                StencilBack.GetHashCode(),
                StencilReadMask.GetHashCode(),
                StencilWriteMask.GetHashCode(),
                StencilReference.GetHashCode()));
 }
Beispiel #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(
                Width.GetHashCode(),
                Height.GetHashCode(),
                Depth.GetHashCode(),
                MipLevels.GetHashCode(),
                ArrayLayers.GetHashCode(),
                Format.GetHashCode(),
                Usage.GetHashCode(),
                Type.GetHashCode(),
                SampleCount.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(
                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(Fail.GetHashCode(), Pass.GetHashCode(), DepthFail.GetHashCode(), Comparison.GetHashCode()));
 }
Beispiel #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(DepthAttachment.GetHashCode(), HashHelper.Array(ColorAttachments)));
 }
 /// <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(), 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(Layout.GetHashCode(), HashHelper.Array(BoundResources)));
 }
 /// <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(Stage.GetHashCode(), ShaderBytes.GetHashCode()));
 }
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Resource.GetHashCode(), Subresource.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(HashHelper.Array(VertexLayouts), HashHelper.Array(Shaders)));
 }
Beispiel #19
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(DepthTarget.GetHashCode(), HashHelper.Array(ColorTargets)));
 }
 /// <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(), ArrayLayer.GetHashCode()));
 }
Beispiel #21
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(Stride.GetHashCode(), HashHelper.Array(Elements), InstanceStepRate.GetHashCode()));
 }
Beispiel #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(), Kind.GetHashCode(), Stages.GetHashCode()));
 }
Beispiel #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(R.GetHashCode(), G.GetHashCode(), B.GetHashCode(), A.GetHashCode()));
 }