mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-18 08:20:11 +08:00
chore: run go generate
This commit is contained in:
committed by
GitHub
parent
bfda7d76f3
commit
32abd8ea7c
24
core_SRGB.go
24
core_SRGB.go
@@ -22,23 +22,23 @@ const ZE_SRGB_EXT_NAME = "ZE_extension_srgb"
|
||||
|
||||
// ZeSrgbExtVersion (ze_srgb_ext_version_t) sRGB Extension Version(s)
|
||||
type ZeSrgbExtVersion uintptr
|
||||
|
||||
const (
|
||||
ZE_SRGB_EXT_VERSION_1_0 ZeSrgbExtVersion = /* ZE_MAKE_VERSION( 1, 0 ) */((( 1 << 16 )|( 0 & 0x0000ffff))) // ZE_SRGB_EXT_VERSION_1_0 version 1.0
|
||||
ZE_SRGB_EXT_VERSION_CURRENT ZeSrgbExtVersion = /* ZE_MAKE_VERSION( 1, 0 ) */((( 1 << 16 )|( 0 & 0x0000ffff))) // ZE_SRGB_EXT_VERSION_CURRENT latest known version
|
||||
ZE_SRGB_EXT_VERSION_FORCE_UINT32 ZeSrgbExtVersion = 0x7fffffff // ZE_SRGB_EXT_VERSION_FORCE_UINT32 Value marking end of ZE_SRGB_EXT_VERSION_* ENUMs
|
||||
ZE_SRGB_EXT_VERSION_1_0 ZeSrgbExtVersion = /* ZE_MAKE_VERSION( 1, 0 ) */ ((1 << 16) | (0 & 0x0000ffff)) // ZE_SRGB_EXT_VERSION_1_0 version 1.0
|
||||
ZE_SRGB_EXT_VERSION_CURRENT ZeSrgbExtVersion = /* ZE_MAKE_VERSION( 1, 0 ) */ ((1 << 16) | (0 & 0x0000ffff)) // ZE_SRGB_EXT_VERSION_CURRENT latest known version
|
||||
ZE_SRGB_EXT_VERSION_FORCE_UINT32 ZeSrgbExtVersion = 0x7fffffff // ZE_SRGB_EXT_VERSION_FORCE_UINT32 Value marking end of ZE_SRGB_EXT_VERSION_* ENUMs
|
||||
|
||||
)
|
||||
|
||||
// ZeSrgbExtDesc (ze_srgb_ext_desc_t) sRGB image descriptor
|
||||
///
|
||||
/// @details
|
||||
/// - This structure may be passed to ::zeImageCreate via the `pNext` member
|
||||
/// of ::ze_image_desc_t
|
||||
/// - Used for specifying that the image is in sRGB format.
|
||||
// /
|
||||
// / @details
|
||||
// / - This structure may be passed to ::zeImageCreate via the `pNext` member
|
||||
// / of ::ze_image_desc_t
|
||||
// / - Used for specifying that the image is in sRGB format.
|
||||
type ZeSrgbExtDesc struct {
|
||||
Stype ZeStructureType // Stype [in] type of this structure
|
||||
Pnext unsafe.Pointer // Pnext [in][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
|
||||
Srgb ZeBool // Srgb [in] Is sRGB.
|
||||
Stype ZeStructureType // Stype [in] type of this structure
|
||||
Pnext unsafe.Pointer // Pnext [in][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
|
||||
Srgb ZeBool // Srgb [in] Is sRGB.
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user