ICommandList

public interface ICommandList

GPU에 전달되어 렌더링될 명령 시퀀스를 인코딩합니다.

메서드

메서드설명
bindDescriptorSet(IDescriptorSet descriptorSet)디스크립터 세트를 현재 파이프라인에 바인드합니다.
bindIndexBuffer(IIndexBuffer indexBuffer)렌더링을 위해 인덱스 버퍼를 바인드합니다
bindPipeline(IPipeline pipeline)렌더링을 위해 파이프라인 인스턴스를 바인드합니다
bindVertexBuffer(IVertexBuffer vertexBuffer)렌더링을 위해 버텍스 버퍼를 바인드합니다
draw()인덱스 버퍼 없이 그리기
draw(int start, int count)인덱스 버퍼 없이 그리기
drawIndex()명령 목록에 인덱스 드로우를 발행합니다
drawIndex(int start, int count)명령 목록에 인덱스 드로우를 발행합니다
pushConstants(int stage, byte[] data)상수를 파이프라인에 푸시합니다
pushConstants(int stage, byte[] data, int size)상수를 파이프라인에 푸시합니다

bindDescriptorSet(IDescriptorSet descriptorSet)

public abstract void bindDescriptorSet(IDescriptorSet descriptorSet)

디스크립터 세트를 현재 파이프라인에 바인드합니다.

Parameters:

매개변수형식설명
descriptorSetIDescriptorSet

bindIndexBuffer(IIndexBuffer indexBuffer)

public abstract void bindIndexBuffer(IIndexBuffer indexBuffer)

렌더링을 위해 인덱스 버퍼를 바인드합니다

Parameters:

매개변수형식설명
indexBufferIIndexBuffer

bindPipeline(IPipeline pipeline)

public abstract void bindPipeline(IPipeline pipeline)

렌더링을 위해 파이프라인 인스턴스를 바인드합니다

Parameters:

매개변수형식설명
pipelineIPipeline

bindVertexBuffer(IVertexBuffer vertexBuffer)

public abstract void bindVertexBuffer(IVertexBuffer vertexBuffer)

렌더링을 위해 버텍스 버퍼를 바인드합니다

Parameters:

매개변수형식설명
vertexBufferIVertexBuffer

draw()

public abstract void draw()

인덱스 버퍼 없이 그리기

draw(int start, int count)

public abstract void draw(int start, int count)

인덱스 버퍼 없이 그리기

Parameters:

매개변수형식설명
시작int
갯수int

drawIndex()

public abstract void drawIndex()

명령 목록에 인덱스 드로우를 발행합니다

drawIndex(int start, int count)

public abstract void drawIndex(int start, int count)

명령 목록에 인덱스 드로우를 발행합니다

Parameters:

매개변수형식설명
시작int그릴 첫 번째 인덱스
갯수int그릴 인덱스의 개수

pushConstants(int stage, byte[] data)

public abstract void pushConstants(int stage, byte[] data)

상수를 파이프라인에 푸시합니다

Parameters:

매개변수형식설명
단계int어떤 셰이더 단계가 상수 데이터를 사용할지
데이터byte[]셰이더에 전송될 데이터

pushConstants(int stage, byte[] data, int size)

public abstract void pushConstants(int stage, byte[] data, int size)

상수를 파이프라인에 푸시합니다

Parameters:

매개변수형식설명
단계int어떤 셰이더 단계가 상수 데이터를 사용할지
데이터byte[]셰이더에 전송될 데이터
크기int파이프라인에 쓸 바이트 수