Sampler 인스턴스를 생성합니다.
RedGPUContext 인스턴스
Optional
options: GPUSamplerDescriptorGPUSamplerDescriptor 옵션 객체
Retrieves the GPU device associated with the current instance.
The GPU device.
Retrieves the GPU sampler associated with the current instance.
The GPU sampler.
Retrieves the magnification filter mode used by the GPU.
The magnification filter mode.
Sets the magnification filter mode for the GPU texture.
The magnification filter mode to be set.
Retrieves the maximum anisotropy value.
The maximum anisotropy value.
Returns the minimum filter mode for the GPU filter.
The minimum filter mode for the GPU filter.
Sets the value of minFilter
.
The new value for minFilter
.
Returns the MipmapFilter mode of the GPU object.
The MipmapFilter mode of the GPU.
Sets the mipmap filter mode.
The filter mode to be set.
Retrieves the UUID of the object.
The UUID of the object.
Adds a listener function to the dirty pipeline listeners array. This function will be called when the pipeline becomes dirty.
The listener function to be added.
Fires the dirty listeners list.
Optional
resetList: boolean = falseIndicates whether to reset the dirty listeners list after firing.
Removes a dirty pipeline listener from the list of listeners.
The listener function to be removed.
GPU 텍스처 샘플러를 관리하는 클래스입니다.
아래는 Sampler의 구조와 동작을 이해하는 데 도움이 되는 추가 샘플 예제 목록입니다.
See