Struct gfx::pso::buffer::RawGlobal [] [src]

pub struct RawGlobal(_);

Raw global (uniform) constant component. Describes a free-standing value passed into the shader, which is not enclosed in any constant buffer.

  • init: &str = name of the constant
  • data: UniformValue = value

Trait Implementations

impl Clone for RawGlobal
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RawGlobal
[src]

[src]

Formats the value using the given formatter.

impl Eq for RawGlobal
[src]

impl Hash for RawGlobal
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for RawGlobal
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> DataLink<'a> for RawGlobal
[src]

The assotiated "init" type - a member of the PSO "init" struct.

[src]

Create a new empty data link.

[src]

Check if this link is actually used by the shader.

Attempt to link with a global constant.

Attempt to link with a vertex buffer containing multiple attributes.

Attempt to link with a vertex attribute.

Attempt to link with a constant buffer.

Attempt to link with an output render target (RTV).

Attempt to link with a depth-stencil target (DSV).

Attempt to link with a shader resource (SRV).

Attempt to link with an unordered access (UAV).

Attempt to link with a sampler.

Attempt to enable scissor test.

impl<R: Resources> DataBind<R> for RawGlobal
[src]

The associated "data" type - a member of the PSO "data" struct.

[src]

Dump the given data into the raw data set.