Example #1
0
 /// <summary>To initialize this structure with default value, use this constructor. The argument value is ignored.</summary>
 /// <remarks>This is only here because C# doesn’t support parameterless constructors for structures.</remarks>
 public PipelineResourceLayoutDesc(bool unused)
 {
     DefaultVariableType = ShaderResourceVariableType.Static;
     NumVariables        = 0;
     Variables           = IntPtr.Zero;
     NumStaticSamplers   = 0;
     StaticSamplers      = IntPtr.Zero;
 }
Example #2
0
 /// <summary>To initialize this structure with default value, use this constructor. The argument value is ignored.</summary>
 /// <remarks>This is only here because C# doesn’t support parameterless constructors for structures.</remarks>
 public ShaderResourceVariableDesc(bool unused)
 {
     ShaderStages = ShaderType.Unknown;
     Name         = IntPtr.Zero;
     Type         = ShaderResourceVariableType.Static;
 }