Synced
RenderResourceProvider.CreateTextureBinding
Section titled “RenderResourceProvider.CreateTextureBinding”
- Creates a protected sampled-texture binding value.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”protected static Inno.Rendering.Runtime.RenderResourceProvider.MaterialBinding Inno.Rendering.Runtime.RenderResourceProvider.CreateTextureBinding(Inno.Rendering.RenderBindingId id, Inno.Rendering.PersistentTextureHandle texture, Inno.Rendering.RenderSamplerState sampler)Parameters
Section titled “Parameters”Parameter id: The stable shader binding identifier.
Parameter texture: The persistent texture handle.
Parameter sampler: The backend-neutral sampler state.
Returns
Section titled “Returns”A binding token accepted by the material-pass construction helpers.