IMTLArgumentEncoder.SetTexture(IMTLTexture, nuint) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encodes the provided texture
into the argument buffer.
[Foundation.Export("setTexture:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetTexture (Metal.IMTLTexture texture, nuint index);
abstract member SetTexture : Metal.IMTLTexture * nuint -> unit
- texture
- IMTLTexture
A texture within an argument buffer.
- index
- System.System.UIntPtr System.unativeint
The index of the texture. Either a Metal index ID or the index member of a MTLArgumentDescriptor.
- Attributes