BitmapTexture 생성자
RedGPUContext 인스턴스
Optionalsrc: SrcInfo텍스처 소스 정보
밉맵 사용 여부(기본값: true)
OptionalonLoad: (textureInstance?: BitmapTexture) => void로드 완료 콜백
OptionalonError: (error: Error) => void에러 콜백
Optionalformat: GPUTextureFormat텍스처 포맷(옵션)
프리멀티플 알파 사용 여부(기본값: false)
Retrieves the GPU device associated with the current instance.
The GPU device.
GPUTexture 객체 반환
텍스처의 세로 크기
밉맵 레벨 개수 반환
Retrieves the RedGPUContext instance.
The RedGPUContext instance.
텍스처 소스 경로 반환
텍스처 소스 경로 설정 및 로드
밉맵 사용 여부 반환
밉맵 사용 여부 설정 및 텍스처 재생성
프리멀티플 알파 사용 여부 반환
Retrieves the UUID of the object.
The UUID of the object.
비디오 메모리 사용량(byte) 반환
텍스처의 가로 크기
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.
OptionalresetList: 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.
텍스처와 리소스 해제
BitmapTexture