示例#1
0
 public GLContextBase(Clyde clyde)
 {
     Clyde           = clyde;
     BindingsContext = new BindingsContextImpl(this);
 }
示例#2
0
 public AudioSource(Clyde master, int sourceHandle, AudioStream sourceStream)
 {
     _master       = master;
     SourceHandle  = sourceHandle;
     _sourceStream = sourceStream;
 }
示例#3
0
 public ClydeShaderInstance(ClydeHandle handle, Clyde parent)
 {
     Handle = handle;
     Parent = parent;
 }
示例#4
0
 public RenderTexture(Vector2i size, ClydeTexture texture, Clyde clyde, ClydeHandle handle)
     : base(clyde, handle)
 {
     Size    = size;
     Texture = texture;
 }
示例#5
0
 public RenderWindow(Clyde clyde, ClydeHandle handle) : base(clyde, handle)
 {
 }
示例#6
0
 public RenderTarget(Vector2i size, ClydeTexture texture, GLHandle objectHandle, Clyde clyde,
                     ClydeHandle handle, GLHandle depthStencilBuffer)
 {
     Size               = size;
     Texture            = texture;
     ObjectHandle       = objectHandle;
     _clyde             = clyde;
     Handle             = handle;
     DepthStencilBuffer = depthStencilBuffer;
 }
示例#7
0
 protected RenderTargetBase(Clyde clyde, ClydeHandle handle)
 {
     Clyde  = clyde;
     Handle = handle;
 }
 public RenderTarget(Vector2i size, ClydeTexture texture, OGLHandle objectHandle, Clyde clyde, ClydeHandle handle)
 {
     Size         = size;
     Texture      = texture;
     ObjectHandle = objectHandle;
     _clyde       = clyde;
     Handle       = handle;
 }
示例#9
0
 public GLContextAngle(Clyde clyde) : base(clyde)
 {
 }
示例#10
0
 public GLContextEgl(Clyde clyde) : base(clyde)
 {
 }
示例#11
0
 public GLShaderProgram(Clyde clyde, string?name = null)
 {
     _clyde = clyde;
     Name   = name;
 }
示例#12
0
 public Viewport(ClydeHandle handle, string?name, Clyde clyde)
 {
     Name    = name;
     _handle = handle;
     _clyde  = clyde;
 }
示例#13
0
 public GLBuffer(Clyde clyde, BufferTarget type, BufferUsageHint usage, Span <byte> initialize,
                 string?name = null)
     : this(clyde, type, usage, name)
 {
     Reallocate(initialize);
 }
示例#14
0
 public GLBuffer(Clyde clyde, BufferTarget type, BufferUsageHint usage, int size, string?name = null)
     : this(clyde, type, usage, name)
 {
     Reallocate(size);
 }
示例#15
0
 internal ClydeTexture(ClydeHandle id, Vector2i size, Clyde clyde) : base(size)
 {
     TextureId = id;
     _clyde    = clyde;
 }
示例#16
0
 public GLContextWindow(Clyde clyde) : base(clyde)
 {
 }