public void ClearRenderTarget(RenderTextureIdentifier texture, Vector4 color) { m_commandData.Add(new CommandBufferData() { Type = CommandDataType.ClearRenderTarget, ParamRTId = texture, ParamVec4 = color, }); }
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); }