Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
TextureType
VisualShaderNodeCubemap.swift:32enum TextureType
Cases
case data
No hints are added to the uniform declaration.
case color
Adds
hint_albedo
as hint to the uniform declaration for proper sRGB to linear conversion.case normalMap
Adds
hint_normal
as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.case max
Represents the size of the
TextureType
enum.
Other members in extension
Types
Type members
Instance members
var cubeMap: Cubemap?
The
Cubemap
texture to sample when using .texture assource
.var source: VisualShaderNodeCubemap.Source
Defines which source should be used for the sampling. See
Source
for options.var textureType: VisualShaderNodeCubemap.TextureType
Defines the type of data provided by the source texture. See
TextureType
for options.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.