Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ComponentSwizzle where
- ComponentSwizzle Int32
- pattern COMPONENT_SWIZZLE_IDENTITY :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_ZERO :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_ONE :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_R :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_G :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_B :: ComponentSwizzle
- pattern COMPONENT_SWIZZLE_A :: ComponentSwizzle
Documentation
newtype ComponentSwizzle Source #
VkComponentSwizzle - Specify how a component is swizzled
Description
Setting the identity swizzle on a component is equivalent to setting the identity mapping on that component. That is:
Component | Identity Mapping |
---|---|
components.r | COMPONENT_SWIZZLE_R |
components.g | COMPONENT_SWIZZLE_G |
components.b | COMPONENT_SWIZZLE_B |
components.a | COMPONENT_SWIZZLE_A |
Component Mappings Equivalent To COMPONENT_SWIZZLE_IDENTITY
See Also
pattern COMPONENT_SWIZZLE_IDENTITY :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_ZERO :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_ONE :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_R :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_G :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_B :: ComponentSwizzle |
|
pattern COMPONENT_SWIZZLE_A :: ComponentSwizzle |
|