기술 자료

Unity Engine

Unity Engine

GetLinearFormat(GraphicsFormat)

Returns the equivalent linear format of a GraphicsFormat. For example, this function returns kFormatR8G8B8A8_UNorm if the input is kFormatR8G8B8A8_SRGB. If the input GraphicsFormat is already linear, this function returns the input GraphicsFormat.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static GraphicsFormat GetLinearFormat(GraphicsFormat format)

Parameters

Returns

Type

Description

GraphicsFormat