예제 #1
0
 public Texture(Renderer renderer, PixelFormat format, TextureAccess access, int width, int height)
 {
     TexturePtr = SDL.CreateTexture(renderer.RendererPtr, (uint)format, (int)access, width, height);
     Util.ThrowIfFailed(TexturePtr);
 }