Skip to content

Texture 재사용, Buffer 베이스로 변경. #43

@kybin

Description

@kybin

현재 윈도우에 이미지를 뿌리기 위해서는 아래와 같은 단계를 거친다.

Buffer생성 + Texture 생성 -> Texture에 Buffer 복사 -> 윈도우에 Texture 복사

매 프레임 Texture를 생성하는 것이 효율적이지 않으므로
텍스쳐는 프로그램 시작과, 윈도우의 크기가 수정되었을때만 변경하고
매 프레임에는 버퍼만 생성하도록 한다.
최종적인 결과는 다음과 같다.

Buffer생성 -> Texture에 Buffer 복사 -> 윈도우에 Texture 복사

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions