diff options
Diffstat (limited to 'files/ko/web/api/webglrenderbuffer/index.html')
-rw-r--r-- | files/ko/web/api/webglrenderbuffer/index.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/files/ko/web/api/webglrenderbuffer/index.html b/files/ko/web/api/webglrenderbuffer/index.html new file mode 100644 index 0000000000..6cd95fc536 --- /dev/null +++ b/files/ko/web/api/webglrenderbuffer/index.html @@ -0,0 +1,64 @@ +--- +title: WebGLRenderbuffer +slug: Web/API/WebGLRenderbuffer +tags: + - 레퍼런스 + - 웹지엘 +translation_of: Web/API/WebGLRenderbuffer +--- +<div>{{APIRef("WebGL")}}</div> + +<p><strong>WebGLRenderbuffer</strong> 인터페이스는 <a href="/en-US/docs/Web/API/WebGL_API">WebGL API</a> 의 부분입니다. 그리고 이미지를 담거나 렌더링 연산의 소스나 타겟이 될 수 있는 버퍼를 말합니다. </p> + +<h2 id="설명">설명</h2> + +<p><code>WebGLRenderbuffer</code> 오브젝트는 메소드나 프로퍼티를 정의 하지 않으며 직접적으로 접근할 수 없습니다. When working with <code>WebGLRenderbuffer</code> 오브젝트와 작업하려면 다음의 {{domxref("WebGLRenderingContext")}} 메소드가 도움이 될 것입니다. </p> + +<ul> + <li>{{domxref("WebGLRenderingContext.bindRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.createRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.deleteRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.isRenderbuffer()")}}</li> +</ul> + +<h2 id="예">예</h2> + +<h3 id="렌더_버퍼_만들기">렌더 버퍼 만들기</h3> + +<pre class="brush: js">var canvas = document.getElementById('canvas'); +var gl = canvas.getContext('webgl'); +var buffer = gl.createRenderbuffer(); +</pre> + +<h2 id="스펙">스펙</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('WebGL', "#5.7", "WebGLRenderbuffer")}}</td> + <td>{{Spec2('WebGL')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="브라우저_호환성">브라우저 호환성</h2> + +<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p> + +<p>{{Compat("api.WebGLRenderbuffer")}}</p> + +<h2 id="함께_보기">함께 보기</h2> + +<ul> + <li>{{domxref("WebGLRenderingContext.bindRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.createRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.deleteRenderbuffer()")}}</li> + <li>{{domxref("WebGLRenderingContext.isRenderbuffer()")}}</li> + <li>Other buffers: {{domxref("WebGLBuffer")}}, {{domxref("WebGLFramebuffer")}}</li> +</ul> |