public static string D3D12SerializeVersionedRootSignature(VersionedRootSignatureDescription description, out Blob blob) { var result = D3D12SerializeVersionedRootSignature(description, out blob, out Blob errorBlob); if (result.Failure) { return(errorBlob.ConvertToString()); } return(string.Empty); }
public static string D3D12SerializeVersionedRootSignature(VersionedRootSignatureDescription description, out Blob blob) { var errorString = string.Empty; if (D3D12SerializeVersionedRootSignature(description, out blob, out var errorBlob).Failure) { errorString = errorBlob.ConvertToString(); } errorBlob?.Dispose(); return(errorString); }