일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 브릿지 패턴
- 동적 데커레이터
- 단순한 빌더
- 싱글톤
- 싱글톤 패턴
- 프로토타입 패턴
- 컴포지트
- 팩터리 메서드
- 흐름식 빌더
- 빌더
- 프로토타입
- 내부 팩터리
- 그루비 스타일 빌더
- 빌더 패턴
- 팩터리
- 디자인패턴
- 프로토타입 중복처리
- 컴포지트 패턴
- 싱글턴
- 브릿지
- 싱글턴 패턴
- 데커레이터
- 컴포지트 빌더
- 팩터리 패턴
- 모던C++디자인패턴
- 데커레이터 패턴
- 함수형 팩터리
- 동적 데코레이터
- 디자인 패턴
- 추상 팩터리
- Today
- Total
목록DirectX (4)
GGym's Practice Notes
1. 텍스처 형식 데이터 형식 용어 RGBA ( 성분 비트, 개수 ) : Red/Green/Blue/Alpha U/S ( 부호 있는, unsigned /부호 있는, signed) NORM/FLOAT/INT ( 정규화정수/부동소수점/정수) TYPELESS ( 무형식 ) 예시 DXGI_FORMAT_ R32G32B32_FLOAT : 32비트 부동 소수점 성분 3개 R16G16B16A16_UNORM : [0, 1] 구간으로 사상되는 16비트 성분 4개 R32G32_UINT : 부호 없는 32비트 정수 성분 2개 R8G8B8A8_UNORM : [0, 1] 구간으로 사상되는 8비트 성분 4개 R8G8B8A8_SNORM : [-1, 1] 구간으로 사상되는 8비트 성분 4개 R8G8B8A8_UINT : 부호 있는 정수..
1. DirectX 초기화 stdafx.h에 추가 extern ID3D11VertexShader* VertexShader; extern ID3D11PixelShader* PixelShader; extern ID3D10Blob* VsBlob; extern ID3D10Blob* PsBlob; Device.cpp void InitDirect3D(HINSTANCE hInstance) { // SwapChain DXGI_MODE_DESC bufferDesc; // 후면버퍼 속성 구조체 ZeroMemory(&bufferDesc, sizeof(DXGI_MODE_DESC)); bufferDesc.Width = Width; bufferDesc.Height = Height; bufferDesc.RefreshRate.Num..
Device 생성 (헤더파일, cpp파일) Device.h #pragma once // Function void InitWindow(HINSTANCE hInstance, int nCmdShow); void Destroy(); WPARAM Running(); LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); // Scene void InitScene(); void DestroyScene(); void Update(); void Render(); Device.cpp #include "stdafx.h" #include "Device.h" int APIENTRY WinMain ( HINSTANCE hInstance, HINS..
1. DirectX SDK 설치 https://www.microsoft.com/en-us/download/details.aspx?id=6812 DirectX SDK - (June 2010) Download the complete DirectX SDK, which contains the DirectX Runtime and all DirectX software required to create DirectX compliant applications. www.microsoft.com S1023에러시 참조 https://support.microsoft.com/en-ca/help/2728613/s1023-error-when-you-install-the-directx-sdk-june-2010 https://supp..