Exemplo n.º 1
0
 public void ClearRenderTarget(RenderTextureIdentifier texture, Vector4 color)
 {
     m_commandData.Add(new CommandBufferData()
     {
         Type      = CommandDataType.ClearRenderTarget,
         ParamRTId = texture,
         ParamVec4 = color,
     });
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            RenderTextureIdentifier other = obj as RenderTextureIdentifier;

            if (other == null)
            {
                return(false);
            }
            if (other == this)
            {
                return(true);
            }

            if (m_tex == other.m_tex)
            {
                return(true);
            }
            return(false);
        }