Enum dae_parser::SurfaceType [−][src]
pub enum SurfaceType {
Untyped,
_1D,
_2D,
_3D,
Rect,
Cube,
Depth,
}
Expand description
Specifies a surface on a cube.
Variants
Untyped
When a surface’s type attribute is set to Untyped
,
its type is initially unknown and established later by the context in which
it is used, such as by a texture sampler that references it.
A surface of any other type may be changed into an Untyped
surface at
run-time, as if it were created by NewParam
, using EffectSetParam
.
If there is a type mismatch between a EffectSetParam
operation and
what the run-time decides the type should be, the result is profile- and
platform-specific behavior.
_1D
A one dimensional texture.
_2D
A two dimensional texture.
_3D
A three dimensional texture.
Rect
A RECT texture, see http://www.opengl.org/registry/specs/ARB/texture_rectangle.txt.
Cube
A cube map.
Depth
A depth map.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SurfaceType
impl Send for SurfaceType
impl Sync for SurfaceType
impl Unpin for SurfaceType
impl UnwindSafe for SurfaceType
Blanket Implementations
Mutably borrows from an owned value. Read more