浏览代码

HDRenderLoop: Update convention

/main
sebastienlagarde 8 年前
当前提交
e6e4de0a
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 4
      Assets/ScriptableRenderLoop/ForwardRenderLoop/ForwardRenderLoop.cs
  2. 2
      Assets/ScriptableRenderLoop/ShaderLibrary/Common.hlsl

4
Assets/ScriptableRenderLoop/ForwardRenderLoop/ForwardRenderLoop.cs


using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Generic;
namespace UnityEngine.ScriptableRenderLoop
{

2
Assets/ScriptableRenderLoop/ShaderLibrary/Common.hlsl


// constant floating number written as 1.0 (not 1, not 1.0f, not 1.0h)
// uniform have _ as prefix (still lowercaseThenCamelCase) // TODO: define upper or lower case as a start
// uniform have _ as prefix + uppercase _LowercaseThenCamelCase
// Structure definition that are share between C# and hlsl.
// These structures need to be align on float4 to respectect various packing rules from sahder language.

正在加载...
取消
保存