Class GPUSampler
GPU texture sampler object.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class GPUSampler : GPUResource
Constructors
GPUSampler()
Properties
Description
Gets sampler description structure.
Declaration
[Unmanaged]
public GPUSamplerDescription Description { get; }
Property Value
GPUSamplerDescription
|
Methods
Init(ref GPUSamplerDescription)
Creates new sampler.
Declaration
[Unmanaged]
public bool Init(ref GPUSamplerDescription desc)
Parameters
GPUSamplerDescription
desc
The sampler description. |
Returns
System.Boolean
True if cannot create sampler, otherwise false. |