Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
TextureType
VisualShaderNodeTextureParameter.swift:19enum TextureType
Cases
case data
No hints are added to the uniform declaration.
case color
Adds
source_color
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 anisotropy
Adds
hint_anisotropy
as hint to the uniform declaration to use for a flowmap.case max
Represents the size of the
TextureType
enum.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (10) members.
Types
Type members
Instance members
var colorDefault: VisualShaderNodeTextureParameter.ColorDefault
Sets the default color if no texture is assigned to the uniform.
var textureFilter: VisualShaderNodeTextureParameter.TextureFilter
Sets the texture filtering mode. See
TextureFilter
for options.var textureRepeat: VisualShaderNodeTextureParameter.TextureRepeat
Sets the texture repeating mode. See
TextureRepeat
for options.var textureSource: VisualShaderNodeTextureParameter.TextureSource
Sets the texture source mode. Used for reading from the screen, depth, or normal_roughness texture. See
TextureSource
for options.var textureType: VisualShaderNodeTextureParameter.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.