TextureLayeredRD
Abstract base class for layered texture RD types.
TextureLayeredRD.swift:11class TextureLayeredRD
Base class for Texture2DArrayRD
, TextureCubemapRD
and TextureCubemapArrayRD
. Cannot be used directly, but contains all the functions necessary for accessing the derived resource types.
Superclasses
class TextureLayered
Base class for texture types which contain the data of multiple
Image
s. Each image is of the same size and format.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
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 Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Type members
Instance members
var textureRdRid: RID
The RID of the texture object created on the
RenderingDevice
.
Subclasses
class Texture2DArrayRD
Texture Array for 2D that is bound to a texture created on the
RenderingDevice
.class TextureCubemapArrayRD
Texture Array for Cubemaps that is bound to a texture created on the
RenderingDevice
.class TextureCubemapRD
Texture for Cubemap that is bound to a texture created on the
RenderingDevice
.