Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
TextureType
VisualShaderNodeTexture.swift:50enum 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 source: VisualShaderNodeTexture.Source
Determines the source for the lookup. See
Source
for options.var texture: Texture2D?
The source texture, if needed for the selected
source
.var textureType: VisualShaderNodeTexture.TextureType
Specifies the type of the texture if
source
is set to .texture. SeeTextureType
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.