friend class OpenGLPipelineState;
protected:
- unsigned id;
+ unsigned id = 0;
unsigned target;
std::string debug_name;
- static int swizzle_orders[];
static OpenGLTexture *scratch_binding;
OpenGLTexture(unsigned);
+ OpenGLTexture(OpenGLTexture &&);
~OpenGLTexture();
- void generate_id();
+ void create();
void require_swizzle();
void apply_swizzle();
void set_parameter_i(unsigned, int) const;