Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
TextureSource
VisualShaderNodeTextureParameter.swift:122enum TextureSource
Cases
case none
The texture source is not specified in the shader.
case screen
The texture source is the screen texture which captures all opaque objects drawn this frame.
case depth
The texture source is the depth texture from the depth prepass.
case normalRoughness
The texture source is the normal-roughness buffer from the depth prepass.
case max
Represents the size of the
TextureSource
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.