Struct bgfx_rs::static_lib::CreateTexture3DArgs
source · [−]Fields
flags: u64
Texture creation (see TextureFlags.), and sampler (see SamplerFlags) flags. Default texture sampling mode is linear, and wrap mode is repeat.
- [SamplerFlags::[U/V/W]_[MIRROR/CLAMP]] - Mirror or clamp to edge wrap mode.
- [SamplerFlags::[MIN/MAG/MIP]_[POINT/ANISOTROPIC]] - Point or anisotropic sampling.
mem: Option<Memory>
Texture data. If _mem
is non-NULL, created texture will be immutable. If
_mem
is NULL content of the texture is uninitialized. When _numLayers
is more than
1, expected memory layout is texture and all mips together for each array element.
Trait Implementations
sourceimpl Default for CreateTexture3DArgs
impl Default for CreateTexture3DArgs
sourcefn default() -> CreateTexture3DArgs
fn default() -> CreateTexture3DArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateTexture3DArgs
impl !Send for CreateTexture3DArgs
impl !Sync for CreateTexture3DArgs
impl Unpin for CreateTexture3DArgs
impl UnwindSafe for CreateTexture3DArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more