Struct glitter::texture::Tx2d
[−]
[src]
pub struct Tx2d;
The TextureType
for 2-dimensional textures.
Trait Implementations
impl TextureType for Tx2d
[src]
type ImageTargetType = Tx2dImageTarget
The type that is used to indicate all of the possible target 2D images for this type of texture. The associated ImageTargetType
in the impl for TxCubeMap
, for example, is TxCubeMapImageTarget
, which is an enum with six variants, one for each of the six 2-dimensional images that make up a cube map. Read more
fn target() -> TextureBindingTarget
[src]
The actual variant that represents this type of texture. The target()
method impl for TxCubeMap
, for example, returns TextureBindingTarget::CubeMap
. Read more