#[repr(C)]pub struct WorldBufferInfo {
pub draw: GpuBufferLookup,
pub extent: GpuBufferLookup,
pub material: GpuBufferLookup,
pub point_light: GpuBufferLookup,
pub spot_light: GpuBufferLookup,
pub directional_light: GpuBufferLookup,
pub camera: GpuBufferLookup,
pub shadow_matrix: GpuBufferLookup,
}
Fields§
§draw: GpuBufferLookup
srv index of the draw buffer (contains entity world matrices and draw call data)
extent: GpuBufferLookup
srv index of the extent buffer (contains data for culling entities)
material: GpuBufferLookup
srv index of the material buffer (contains ids of textures to look up and material parameters)
point_light: GpuBufferLookup
srv index of the point light buffer
spot_light: GpuBufferLookup
srv index of the spot light buffer
directional_light: GpuBufferLookup
srv index of the directional light buffer
camera: GpuBufferLookup
cbv index of the camera
shadow_matrix: GpuBufferLookup
srv index of shadow matrices
Trait Implementations§
Source§impl Clone for WorldBufferInfo
impl Clone for WorldBufferInfo
Source§fn clone(&self) -> WorldBufferInfo
fn clone(&self) -> WorldBufferInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WorldBufferInfo
impl Debug for WorldBufferInfo
Source§impl Default for WorldBufferInfo
impl Default for WorldBufferInfo
Source§fn default() -> WorldBufferInfo
fn default() -> WorldBufferInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorldBufferInfo
impl RefUnwindSafe for WorldBufferInfo
impl Send for WorldBufferInfo
impl Sync for WorldBufferInfo
impl Unpin for WorldBufferInfo
impl UnwindSafe for WorldBufferInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more