RenderPipeline
이 페이지에서

RenderPipeline

인터페이스, 런타임 분류

A render pipeline: a vertex entry, a fragment entry and the state, drawn with bindings by name.

import type { RenderPipeline } from 'typeshade/runtime'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

interface RenderPipeline {
readonly vertex: string;
readonly fragment: string | null;
draw(pass: object, bindings: Bindings, geometry: Geometry): void;
}

인스턴스 속성

vertex읽기 전용 string
fragment읽기 전용 string | null

인스턴스 메서드

draw (pass: object, bindings: Bindings, geometry: Geometry): void

Record a draw into the host’s render pass, or a frame’s.

소스

src/runtime/program.ts, 145행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고